Last active
February 21, 2020 15:19
-
-
Save OmarKRostom/10a72204dfdb5187e6e632791ab48884 to your computer and use it in GitHub Desktop.
This file contains 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 [::]:443 ssl; | |
listen 443 ssl; | |
server_name api.rostom.dev; | |
ssl_certificate /etc/letsencrypt/live/api.rostom.dev/fullchain.pem; # manag$ | |
ssl_certificate_key /etc/letsencrypt/live/api.rostom.dev/privkey.pem; # man$ | |
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot | |
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot | |
location / { | |
proxy_pass http://127.0.0.1:3000; | |
} | |
} | |
server { | |
listen [::]:443 ssl; | |
listen 443 ssl; | |
server_name rostom.dev www.rostom.dev; | |
ssl_certificate /etc/letsencrypt/live/api.rostom.dev/fullchain.pem; # manag$ | |
ssl_certificate_key /etc/letsencrypt/live/api.rostom.dev/privkey.pem; # man$ | |
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot | |
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment