forked from CCCHH/ansible-infra
		
	Add missing headers to avoid CSRF errors
This commit is contained in:
		
					parent
					
						
							
								43ca24b5e2
							
						
					
				
			
			
				commit
				
					
						2fc54f5a83
					
				
			
		
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -35,6 +35,10 @@ server {
 | 
			
		|||
    # is transparent).
 | 
			
		||||
    # Also provide "_hidden" for by, since it's not relevant.
 | 
			
		||||
    proxy_set_header Forwarded "for=$remote_addr;proto=https;host=$host;by=_hidden";
 | 
			
		||||
    proxy_read_timeout 86400;
 | 
			
		||||
    proxy_set_header Upgrade $http_upgrade;
 | 
			
		||||
    proxy_set_header Connection "Upgrade";
 | 
			
		||||
    proxy_set_header CLIENT_IP $remote_addr;
 | 
			
		||||
 | 
			
		||||
    location ~/(ticket/zoom/.*) {
 | 
			
		||||
        return 302 https://zammad.hamburg.ccc.de/#$1;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue