[code]server { listen 80; listen [::]:80; server_name ipfs.mysite; location / { proxy_pass http://127.0.0.1:8080; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; allow all; } listen [::]:443 ssl ipv6only=on; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/ipfs.mysite/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/ipfs.mysite/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot }[/code]