HomeSok / nginx.conf
Kano001's picture
Create nginx.conf
4879a8c verified
raw
history blame contribute delete
451 Bytes
events {}
http {
server {
listen 7860;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html;
}
}
server {
listen 7777;
location / {
proxy_pass http://localhost:7777;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
}
}