compose-personal-stack/rp/vhost.d/vaultwarden.domain.tld

17 lines
450 B
Plaintext

# Template file for the routes of Vaultwarden. To be placed in the vhost.d/
# folder of Nginx, substitute the name of the file with your domain.
location /admin {
return 404;
}
location /notifications/hub {
proxy_pass http://${vaultwarden-container-name}:3012;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /notifications/hub/negotiate {
proxy_pass http://${vaultwarden-container-name}:8080;
}