This commit is contained in:
Alexandre
2024-12-28 13:20:11 +01:00
parent 11f871878f
commit c9430669c2
8 changed files with 226 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
server {
listen %%interface%%:%%port%% default_server;
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
proxy_buffering off;
location / {
# Proxy pass
proxy_pass http://localhost:5000;
# Next three lines allow websockets
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}