3 server_name example.tld;
4 return 301 https://$server_name$request_uri;
10 ssl_session_timeout 5m;
12 ssl_certificate /etc/letsencrypt/live/exmaple.tld/fullchain.pem;
13 ssl_certificate_key /etc/letsencrypt/live/example.tld/privkey.pem;
15 ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
16 ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
17 ssl_prefer_server_ciphers on;
19 server_name example.tld;
22 proxy_pass http://localhost:4000;
24 include snippets/well-known.conf;