Last active
May 24, 2018 13:06
-
-
Save sohamdodia/3ff41f8d2c6ed094ab4a3e7281896239 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
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
proxy_pass http://127.0.0.1:3000; | |
} | |
} | |
# HTTPS | |
server { | |
listen 443 ssl; | |
server_name localhost; | |
ssl_certificate server.crt; | |
ssl_certificate_key server.key; | |
location / { | |
proxy_pass http://127.0.0.1:3000; | |
} | |
} | |
include servers/*; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment