From fa83e9f0bd1b334cd95520926a2b1d9a9a801fbd Mon Sep 17 00:00:00 2001 From: rstular Date: Wed, 17 Nov 2021 03:53:15 +0100 Subject: [PATCH] Update for reverse proxying static resources (#17670) Gitea fetches static resources from /assets, so nginx configuration has to be updated accordingly. Co-authored-by: zeripath Co-authored-by: wxiaoguang --- doc/usage/reverse-proxies.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/reverse-proxies.en-us.md b/doc/usage/reverse-proxies.en-us.md index 72998609..a22dba2b 100644 --- a/doc/usage/reverse-proxies.en-us.md +++ b/doc/usage/reverse-proxies.en-us.md @@ -80,7 +80,7 @@ server { listen 80; server_name git.example.com; - location /_/static { + location /_/static/assets { alias /path/to/gitea/public; }