]> source.dussan.org Git - gitea.git/commitdiff
Update for reverse proxying static resources (#17670)
authorrstular <rok@stular.eu>
Wed, 17 Nov 2021 02:53:15 +0000 (03:53 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Nov 2021 02:53:15 +0000 (21:53 -0500)
Gitea fetches static resources from /assets, so nginx configuration has to be updated accordingly.

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
docs/content/doc/usage/reverse-proxies.en-us.md

index 72998609d926aa4e3171e5c84e620c74e38c26ed..a22dba2bc45be654166f24d20c7ef95535f8fdd4 100644 (file)
@@ -80,7 +80,7 @@ server {
     listen 80;
     server_name git.example.com;
 
-    location /_/static {
+    location /_/static/assets {
         alias /path/to/gitea/public;
     }