From 8fdc5247de76e16899755c64a6d07d856a9d8a92 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 --- docs/content/doc/usage/reverse-proxies.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/doc/usage/reverse-proxies.en-us.md b/docs/content/doc/usage/reverse-proxies.en-us.md index 72998609d9..a22dba2bc4 100644 --- a/docs/content/doc/usage/reverse-proxies.en-us.md +++ b/docs/content/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; }