Question : nginx proxy pass
Answered by : httpsgithubcomgarzj
location /path/to/service/ { proxy_pass http://127.0.0.1:8081/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade;
}
Source : | Last Update : Fri, 12 Feb 21
Question : nginx proxy_pass
Answered by : nutty-newt-c8zxvbhgqxz1
location /some/path/ { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://localhost:8000;
}
Source : | Last Update : Mon, 10 May 21