Skip to content

Instantly share code, notes, and snippets.

View dg92's full-sized avatar
💭
💻 🔁 😴

Deepak Gupta dg92

💭
💻 🔁 😴
View GitHub Profile
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;
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;