DevMode-Demo / nginx.conf.sample
tastypear's picture
Update nginx.conf.sample
1eafc05 verified
raw
history blame
632 Bytes
worker_processes auto;
error_log /dev/null crit;
pid /home/ubuntu/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type text/html;
access_log off;
server {
listen 7860;
access_log off;
location / {
return 200 "Hello World";
}
location /control {
proxy_redirect off;
proxy_pass http://127.0.0.1:17860;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
}
}