I have a guide that explains how to serve BTCPayServer running on umbrel at a domain using a Tailscale reverse proxy.
It works but I am not a networking expert. Are there any recommended security settings for ssl in nginx beyond the below configuration.
The most helpful response (as determined by me) will get 10k sat. Additional helpful responses may also get some sats.
server { listen 80; server_name {btcpayserver.my.domain}; # Let's Encrypt verification requests location ^~ /.well-known/acme-challenge/ { allow all; root /var/lib/letsencrypt/; default_type "text/plain"; try_files $uri =404; } # Redirect everything else to https location / { return 301 https://$server_name$request_uri; } } server { listen 443 ssl http2; ssl on; # Replace {btcpayserver.my.domain} with your domain server_name {btcpayserver.mydomain.com}; ssl_certificate /etc/letsencrypt/live/{btcpayserver.mydomain.com}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/{btcpayserver.mydomain.com}/privkey.pem; # Disable SSL and old TLS versions ssl_protocols TLSv1.2 TLSv1.3; # Use Diffie-Hellman (DH) key exchange parameters ssl_dhparam /etc/ssl/certs/dhparam.pem; # Proxy requests to BTCPayServer on Umbrel location / { # URL of BTCPay Server proxy_pass {umbrel-tailscale-ip:port}; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; } }