anotherDocker / etc /nginx /conf.d /http /reverse-proxy.conf
clone3's picture
Upload 2 files
5b5f6df verified
raw
history blame
562 Bytes
server {
listen 80;
location / {
proxy_pass http://localhost;
}
}
server {
listen 7778;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass http://localhost:7778;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
server {
listen 7860;
location / {
root /usr/share/nginx/html-page;
index index.html;
}
}