clean indent in nginx, more static doc

This commit is contained in:
David Reed 2022-09-15 19:16:35 -04:00
parent 583087db6d
commit 6245cdee40

View file

@ -106,7 +106,8 @@ Please note that UV will not function without HTTPS. If you are hosting on Repli
## Static Files ## Static Files
The static files (frontend) is generated in the Ultraviolet-Static repository. See [ultraviolet-static](https://github.com/titaniumnetwork-development/Ultraviolet-Static) for steps for packaging the static files and installing the frontend here. The static files (frontend) is generated in the [Ultraviolet-Static](https://github.com/titaniumnetwork-development/Ultraviolet-Static) repository. You can follow the instructions within the repository to modify the frontend here.
## Configuration ## Configuration
@ -142,18 +143,18 @@ self.__uv$config = {
```nginx ```nginx
location / { location / {
proxy_busy_buffers_size 512k; proxy_busy_buffers_size 512k;
proxy_buffers 4 512k; proxy_buffers 4 512k;
proxy_buffer_size 256k; proxy_buffer_size 256k;
proxy_pass http://localhost:8080; proxy_pass http://localhost:8080;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'Upgrade'; proxy_set_header Connection 'Upgrade';
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host:$server_port; proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host; proxy_set_header Host $host;
} }
``` ```