Update mdwalters.conf

This commit is contained in:
Max 2023-11-15 19:20:41 +00:00
parent ce158df2da
commit f4075ccb1a

View file

@ -4,7 +4,19 @@ server {
listen [::]:443 ssl;
server_name meower.mdwalters.exozy.me;
location / {
try_files $uri $uri.html $uri/ =404;
location /api/ {
proxy_pass http://localhost:1341/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /ws {
proxy_pass ws://localhost:1342/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}