-
-
Save harrisoncramer/a2d03a1e94de65da76d28cf66d93bb6a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
return 301 https://$host$request_uri; | |
} | |
server { | |
server_name www.loql.land loql.land; | |
listen [::]:443 ssl ipv6only=on; # managed by certbot | |
listen 443 ssl; # managed by certbot | |
ssl_certificate /etc/letsencrypt/live/loql.land/fullchain.pem; # managed by Certbot | |
ssl_certificate_key /etc/letsencrypt/live/loql.land/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 | |
location / { | |
proxy_pass http://localhost:3000; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment