Opened 9 years ago
Closed 9 years ago
#1265 closed defect (invalid)
I keep getting 502 bad way error while I was configuring proxy_pass
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | other | Version: | 1.4.x |
| Keywords: | proxy_pass, ubuntu, ghost | Cc: | |
| uname -a: | Linux 118208 2.6.32-042stab120.20 #1 SMP Fri Mar 10 16:52:50 MSK 2017 x86_64 x86_64 x86_64 GNU/Linux | ||
| nginx -V: | nginx version: nginx/1.4.6 (Ubuntu) | ||
Description
here is the config file:
server {
listen 8011;
server_name mydomain.com;
access_log /opt/nginx.log;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:80;
}
}
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

close it please. I've found out the problem, It's not nginx's error