Browse Source

Proxy dev HMR websockets through NGINX (#290)

permissions
Luke Childs 4 years ago
committed by GitHub
parent
commit
2a3e2eb449
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      nginx/conf.d/default.conf

6
nginx/conf.d/default.conf

@ -17,9 +17,11 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
proxy_pass http://10.11.0.3:3004/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}

Loading…
Cancel
Save