From 6245cdee406ffb9c60ee72a9bbbea32df10e2e9d Mon Sep 17 00:00:00 2001 From: David Reed Date: Thu, 15 Sep 2022 19:16:35 -0400 Subject: [PATCH] clean indent in nginx, more static doc --- README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d467e20..4586b71 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,8 @@ Please note that UV will not function without HTTPS. If you are hosting on Repli ## 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 @@ -142,18 +143,18 @@ self.__uv$config = { ```nginx location / { - proxy_busy_buffers_size 512k; - proxy_buffers 4 512k; - proxy_buffer_size 256k; - proxy_pass http://localhost:8080; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection 'Upgrade'; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-Host $host:$server_port; - proxy_set_header X-Forwarded-Server $host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $host; + proxy_busy_buffers_size 512k; + proxy_buffers 4 512k; + proxy_buffer_size 256k; + proxy_pass http://localhost:8080; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection 'Upgrade'; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Host $host:$server_port; + proxy_set_header X-Forwarded-Server $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $host; } ```