audiobookshelf: Use built-in NixOS setting for nginx websocket support
This commit is contained in:
		
							parent
							
								
									a98fd9ba83
								
							
						
					
					
						commit
						2e37815edb
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -21,11 +21,7 @@ in | ||||||
|           enableACME = true; |           enableACME = true; | ||||||
|           locations."/" = { |           locations."/" = { | ||||||
|             proxyPass = "http://127.0.0.1:8234/"; |             proxyPass = "http://127.0.0.1:8234/"; | ||||||
|             extraConfig = '' |             proxyWebsockets = true; | ||||||
|               proxy_http_version 1.1; |  | ||||||
|               proxy_set_header Upgrade $http_upgrade; |  | ||||||
|               proxy_set_header Connection "upgrade"; |  | ||||||
|             ''; |  | ||||||
|           }; |           }; | ||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue