I google and found this
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /usr/share/nginx/html;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location /172.16.5.26/{
proxy_set_header Host $http_host$request_uri;
proxy_pass http://172.16.5.26:80/;
proxy_read_timeout 120s;
access_log on;
}
location / {
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
but now the nginx is not working at all - can'y load
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /usr/share/nginx/html;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location /172.16.5.26/{
proxy_set_header Host $http_host$request_uri;
proxy_pass http://172.16.5.26:80/;
proxy_read_timeout 120s;
access_log on;
}
location / {
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
but now the nginx is not working at all - can'y load