Reformat config files
This commit is contained in:
parent
9e49160440
commit
2cf00114f6
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ server {
|
|||
|
||||
location / {
|
||||
proxy_pass http://unix:/run/gitea/gitea.socket;
|
||||
client_max_body_size 1G;
|
||||
client_max_body_size 1G;
|
||||
}
|
||||
}
|
||||
|
|
2
tor.conf
2
tor.conf
|
@ -8,4 +8,4 @@ server {
|
|||
server_name_in_redirect off;
|
||||
server_tokens off;
|
||||
port_in_redirect off;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue