mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-11 05:09:31 +01:00
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:
parent
171f2d066e
commit
8fdc5247de
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue