1
0
Fork 0
forked from exozyme/nginx

Discontinue exocalc

This commit is contained in:
Anthony Wang 2021-11-24 18:06:06 -06:00
parent db089b2b82
commit d5f95efe68
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76
2 changed files with 1 additions and 22 deletions

View file

@ -1,21 +0,0 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name calc.exozy.me;
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
location / {
# push traffic through the proxy to the port you mapped above, in this case 9090, on the localhost:
proxy_pass https://localhost:6969;
# this enables proxying for websockets, which cocalc uses extensively:
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
client_max_body_size 1G;
}
}

View file

@ -20,7 +20,7 @@ server {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name app.exozy.me 97.88.196.36;
server_name 97.88.196.36;
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;