Files
cloud-config/mushroom/helm/nginx-default.conf
Paul Mathieu 0cf7c9b908 Initial commit: mushroom, zetikettes
With basic config to have TLS certs with ACME.
It works!

TODO:
- gitea
- bar-jupyter
2026-03-02 06:48:46 +00:00

25 lines
541 B
Plaintext

server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location /ws {
proxy_pass http://127.0.0.1:1338;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_read_timeout 10h;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}