mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	use regex to redirect
This commit is contained in:
		
							parent
							
								
									c4aa784b8c
								
							
						
					
					
						commit
						a8c24dde1f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -15,7 +15,7 @@ ProxyPassReverse {{ gitea_url}} http://localhost:{{ gitea_port }}
 | 
			
		|||
  RequestHeader unset Accept-Encoding
 | 
			
		||||
</Location>
 | 
			
		||||
 | 
			
		||||
Redirect {{ gitea_url }} {{ gitea_url }}/
 | 
			
		||||
RedirectMatch ^{{ gitea_url }}$ {{ gitea_url }}/
 | 
			
		||||
 | 
			
		||||
# Disable TRACE to prevent cross-site tracing
 | 
			
		||||
TraceEnable off
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue