Reformat config files

This commit is contained in:
Anthony Wang 2021-09-10 08:15:43 -05:00
parent 9e49160440
commit 2cf00114f6
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76
3 changed files with 4 additions and 4 deletions

View file

@ -9,11 +9,11 @@ server {
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;
}
}
}

View file

@ -8,6 +8,6 @@ server {
location / {
proxy_pass http://unix:/run/gitea/gitea.socket;
client_max_body_size 1G;
client_max_body_size 1G;
}
}

View file

@ -8,4 +8,4 @@ server {
server_name_in_redirect off;
server_tokens off;
port_in_redirect off;
}
}