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
erver { | |
listen 443 ssl; | |
root /home/ubuntu/xyz.co; | |
index index.html index.htm; | |
server_name xyz.co; | |
ssl_certificate /etc/letsencrypt/live/xyz.co/fullchain.pem; |
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
upstream api_upstream { | |
server 127.0.0.1:3000; | |
keepalive 512; | |
} | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
listen 443 ssl; |
NewerOlder