forked from CCCHH/ansible-infra
		
	Allow 50MB uploads
This commit is contained in:
		
					parent
					
						
							
								4fff0a9d0d
							
						
					
				
			
			
				commit
				
					
						8bb6c44bec
					
				
			
		
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -22,6 +22,8 @@ server {
 | 
			
		|||
    # HSTS (ngx_http_headers_module is required) (63072000 seconds)
 | 
			
		||||
    add_header Strict-Transport-Security "max-age=63072000" always;
 | 
			
		||||
 | 
			
		||||
    client_max_body_size 50M;
 | 
			
		||||
 | 
			
		||||
    proxy_set_header Host $host;
 | 
			
		||||
    proxy_set_header X-Forwarded-Host $host;
 | 
			
		||||
    proxy_set_header X-Real-IP $remote_addr;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue