Update nginx template to support user import
This commit is contained in:
		
							parent
							
								
									b18127d91b
								
							
						
					
					
						commit
						35f0bb14be
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -85,6 +85,13 @@ server {
 | 
				
			||||||
    try_files /dev/null @api;
 | 
					    try_files /dev/null @api;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  location ~ ^/api/v1/users/[^/]+/imports/import-resumable$ {
 | 
				
			||||||
 | 
					    client_max_body_size    0;
 | 
				
			||||||
 | 
					    proxy_request_buffering off;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    try_files /dev/null @api;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ {
 | 
					  location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ {
 | 
				
			||||||
    limit_except POST HEAD { deny all; }
 | 
					    limit_except POST HEAD { deny all; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue