[mod]
This commit is contained in:
		
							parent
							
								
									c94d9bf12b
								
							
						
					
					
						commit
						57471752e0
					
				
					 2 changed files with 9 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -90,16 +90,8 @@ quodatum.duckdns.org {
 | 
			
		|||
	@warden host warden.quodatum.duckdns.org
 | 
			
		||||
	handle @warden {
 | 
			
		||||
		import auth_quodatum
 | 
			
		||||
		encode gzip
 | 
			
		||||
 | 
			
		||||
  # The negotiation endpoint is also proxied to Rocket
 | 
			
		||||
		reverse_proxy /notifications/hub/negotiate 0.0.0.0:80
 | 
			
		||||
 | 
			
		||||
  # Notifications redirected to the websockets server
 | 
			
		||||
  		reverse_proxy /notifications/hub 0.0.0.0:3012
 | 
			
		||||
 | 
			
		||||
  # Send all other traffic to the regular Vaultwarden endpoint
 | 
			
		||||
  		reverse_proxy 0.0.0.0:80
 | 
			
		||||
		reverse_proxy 0.0.0.0:8882
 | 
			
		||||
        reverse_proxy /notifications/hub 0.0.0.0:3012
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	@nextcloud host nextcloud.quodatum.duckdns.org
 | 
			
		||||
| 
						 | 
				
			
			@ -188,3 +180,8 @@ xu4.local {
 | 
			
		|||
    root * links
 | 
			
		||||
    file_server browse
 | 
			
		||||
}
 | 
			
		||||
warden.local {
 | 
			
		||||
	tls internal
 | 
			
		||||
	reverse_proxy localhost:8882
 | 
			
		||||
    reverse_proxy /notifications/hub localhost:3012
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -7,8 +7,9 @@ services:
 | 
			
		|||
    restart: unless-stopped
 | 
			
		||||
    environment:
 | 
			
		||||
      - WEBSOCKET_ENABLED=true
 | 
			
		||||
      - ROCKET_PORT=8882
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./data/:/data/
 | 
			
		||||
    ports:
 | 
			
		||||
      - 8882:80 
 | 
			
		||||
      - 8882:8882
 | 
			
		||||
      - 3012:3012
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue