mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00: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 <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
zeripath
wxiaoguang
parent
f957d3b2af
commit
fa83e9f0bd
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user