Skip to content

Instantly share code, notes, and snippets.

View MauricioDinki's full-sized avatar

Mauricio Ivan Mejía Ramirez MauricioDinki

View GitHub Profile
@MauricioDinki
MauricioDinki / nginx.conf
Created January 23, 2016 19:04 — forked from rafaelmv/nginx.conf
Nginx config for a simple server
server {
listen 80;
server_name subdomain1.domain.com;
location / {
proxy_pass http://localhost:{YOUR_PORT};
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';