vps/nginx/sites-enabled/hedgedoc.conf

18 lines
389 B
Text
Raw Permalink Normal View History

2024-10-15 21:44:02 +02:00
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name hedgedoc.${env['domain']};
location / {
proxy_pass http://127.0.0.1:${env['ports']['hedgedoc']};
}
location /socket.io/ {
proxy_pass http://127.0.0.1:${env['ports']['hedgedoc']};
include /etc/nginx/snippets/websocket.conf;
include /etc/nginx/snippets/proxy.conf;
}
}