

keep-daily= 7 -keep-weekly= 4 -keep-monthly=6Īfter creating the script make it executable and create a cronjob which executes it. As I understand the BW install is typically done with a provided install script, which allows for certain environment variables to be configured and ease of use.

Ssl_trusted_certificate /etc/letsencrypt/live//chain.pem Ssl_certificate_key /etc/letsencrypt/live//privkey.pem # managed by Certbot Ssl_certificate /etc/letsencrypt/live//fullchain.pem # managed by Certbot I dislike running docker inside LXC containers for obvious reasons, so this is how I did it. It should work on any Debian 11 install (virtual or metal). Listen 443 ssl http2 # managed by Certbot This is how I installed the Rust implementation of bitwarden into a Proxmox Debian 11 LXC Container.

Listen :443 ssl http2 # managed by Certbot Proxy_set_header X-Forwarded-Proto $scheme Īdd_header Strict-Transport-Security "max-age=31536000 includeSubDomains preload" Īdd_header Referrer-Policy "same-origin" Īccess_log /var/log/nginx/ Įrror_log /var/log/nginx/ Proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for
