forked from exozyme/nginx
Merge pull request 'Update mdwalters configs' (#25) from mdwalters/nginx:main into main
Reviewed-on: exozyme/nginx#25
This commit is contained in:
commit
132a20839d
1 changed files with 3 additions and 59 deletions
|
@ -1,66 +1,10 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name meower.mdwalters.exozy.me;
|
||||
server_name git.max.is-probably.gay;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:5173;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name api.meower.mdwalters.exozy.me;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://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;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name wss.meower.mdwalters.exozy.me;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem;
|
||||
|
||||
location / {
|
||||
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;
|
||||
|
||||
# Proxy WebSockets
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name git.mdwalters.exozy.me;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/max.is-probably.gay/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/max.is-probably.gay/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:1351;
|
||||
|
|
Loading…
Reference in a new issue