Skip to content
Snippets Groups Projects
Commit afd0ea37 authored by eal's avatar eal
Browse files

Add websocket upgrade to example nginx config.

parent 08e7e249
Branches
Tags
No related merge requests found
......@@ -19,6 +19,9 @@ server {
server_name example.tld;
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://localhost:4000;
}
include snippets/well-known.conf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment