Nginx-Configurations/http.d/vault.shad.moe
2024-11-04 15:16:55 -05:00

23 lines
568 B
Text

server {
server_name vault.shad.moe www.vault.shad.moe;
ssl_certificate /etc/letsencrypt/live/vault.shad.moe/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/vault.shad.moe/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/vault.shad.moe/fullchain.pem;
include snippets/global/common-ssl.conf;
include snippets/proxy/common-proxy-headers.conf;
location / {
proxy_pass http://vaultwarden;
}
location /admin {
return 403;
}
include snippets/global/errors/http-cat-error-pages.conf;
}