mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08: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:
		@@ -80,7 +80,7 @@ server {
 | 
			
		||||
    listen 80;
 | 
			
		||||
    server_name git.example.com;
 | 
			
		||||
 | 
			
		||||
    location /_/static {
 | 
			
		||||
    location /_/static/assets {
 | 
			
		||||
        alias /path/to/gitea/public;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user