Update for reverse proxying static resources ()

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>
pull/17664/head^2
rstular committed by GitHub
parent 171f2d066e
commit 8fdc5247de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,7 +80,7 @@ server {
listen 80; listen 80;
server_name git.example.com; server_name git.example.com;
location /_/static { location /_/static/assets {
alias /path/to/gitea/public; alias /path/to/gitea/public;
} }

Loading…
Cancel
Save