Skip to content

Instantly share code, notes, and snippets.

@sohamdodia
Last active May 24, 2018 13:06
Show Gist options
  • Save sohamdodia/3ff41f8d2c6ed094ab4a3e7281896239 to your computer and use it in GitHub Desktop.
Save sohamdodia/3ff41f8d2c6ed094ab4a3e7281896239 to your computer and use it in GitHub Desktop.
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