forked from exozyme/nginx
Update mdwalters.conf
This commit is contained in:
parent
ce158df2da
commit
f4075ccb1a
1 changed files with 14 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue