2024-10-13 03:30:33 -07:00
|
|
|
server {
|
2024-10-13 03:32:03 -07:00
|
|
|
listen ipv4_1:443 quic;
|
2024-10-13 03:30:33 -07:00
|
|
|
listen ipv4_1:443 ssl;
|
2024-10-13 03:32:03 -07:00
|
|
|
listen [ipv6_1]:443 quic;
|
2024-10-13 03:30:33 -07:00
|
|
|
listen [ipv6_1]:443 ssl;
|
|
|
|
|
|
|
|
server_name vault.yourdomain.tld;
|
|
|
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/vault.yourdomain.tld/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/vault.yourdomain.tld/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/vault.yourdomain.tld/chain.pem;
|
|
|
|
|
|
|
|
include snippets/hsts.conf;
|
|
|
|
include snippets/security.conf;
|
|
|
|
include snippets/cross-origin-security.conf;
|
|
|
|
include snippets/quic.conf;
|
|
|
|
include snippets/proxy.conf;
|
2024-10-13 13:46:37 -07:00
|
|
|
include snippets/robots.conf;
|
|
|
|
include snippets/universal_paths.conf;
|
2024-10-13 03:30:33 -07:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://vaultwarden:8080;
|
|
|
|
}
|
|
|
|
}
|