mirror of
1
Fork 0

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>
This commit is contained in:
rstular 2021-11-17 03:53:15 +01:00 committed by GitHub
parent 171f2d066e
commit 8fdc5247de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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