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 <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
tokarchuk/v1.17
rstular 3 years ago committed by GitHub
parent 171f2d066e
commit 8fdc5247de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/content/doc/usage/reverse-proxies.en-us.md

@ -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