Disable sending headers on http
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
		@@ -4,7 +4,10 @@ server {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    include snippets/universal_paths.conf;
 | 
					    include snippets/universal_paths.conf;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Don't send headers
 | 
				
			||||||
 | 
					    add_header "" "";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    location / {
 | 
					    location / {
 | 
				
			||||||
        return 308 https://$host$request_uri;
 | 
					        return 308 https://$host$request_uri;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user