Files
start-os/backend/src/net/nginx.conf.template
Aiden McClelland c640749c7c allow websockets to containers (#1340)
* allow websockets to containers

* fix format string
2022-03-17 16:51:45 -05:00

19 lines
570 B
Plaintext

server {{
listen {listen_args};
listen [::]:{listen_args_ipv6};
server_name .{hostname}.local;
{ssl_certificate_line}
{ssl_certificate_key_line}
location / {{
proxy_pass http://{app_ip}:{internal_port}/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 0;
proxy_request_buffering off;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}}
}}