infra/roles/private/files/johan/http.vaultwarden.internal.simponic.xyz.conf

14 lines
281 B
Plaintext
Raw Normal View History

2024-01-15 18:04:36 -05:00
server {
listen 80;
server_name vaultwarden.internal.simponic.xyz;
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
rewrite ^ https://vaultwarden.internal.simponic.xyz$request_uri? permanent;
}
}