eh22-wiki: make automatic dir redirects work for /design
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				/ Ansible Lint (push) Successful in 1m50s
				
			
		
		
	
	
		
	
		
			All checks were successful
		
		
	
	/ Ansible Lint (push) Successful in 1m50s
				
			Do this by setting port_in_redirect to off.
This commit is contained in:
		
					parent
					
						
							
								70d4ce9a2d
							
						
					
				
			
			
				commit
				
					
						9334f70289
					
				
			
		
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -64,11 +64,9 @@ server {
 | 
			
		|||
        fastcgi_pass unix:/var/run/php/php-fpm-dokuwiki.sock;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location = /design {
 | 
			
		||||
        return 302 https://eh22.easterhegg.eu/design/;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location /design/ {
 | 
			
		||||
        # Disable port in redirect as NGINX would redirect to the PROXY Protocol port 8443 for locations like https://eh22.easterhegg.eu/design
 | 
			
		||||
        port_in_redirect off;
 | 
			
		||||
        alias /var/www/eh22-styleguide/;
 | 
			
		||||
        index index.html;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue