Welcome! Log In Create A New Profile

Advanced

Nginx reverse proxy issue -- Plz help

January 28, 2017 11:21PM
Hello Guys,

I have nginx running as a reverse proxy and this is been running find for other 10 sites however this one site is causing me an issue.
I have URL like this.

http://abc.xyz.com/EasyPAY/view/LoginMain.aspx

And here is the my directive

###########
server {
listen 80 ;
server_name abc.xyz.com ;
# index LoginMain.aspx;
access_log /var/log/nginx/abc/access.log;
error_log /var/log/nginx/abc/error.log;

location / {
client_max_body_size 10m;
client_body_buffer_size 128k;

proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_temp_file_write_size 256k;
proxy_connect_timeout 30s;
proxy_pass http://abc.xyz.com/EasyPAY/view/LoginMain.aspx;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}

But from the log it seems there are other directives as well which are not loading properly. Can some one pls help here?

*************************************
Access.log file


xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET / HTTP/1.1" 200 3747 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /EasyPAY/view/System.js?11 HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /App_Themes/TemplateMonster/Custom/TabStrip.Custom.css HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /App_Themes/TemplateMonster/Master.css?12 HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /App_Themes/TemplateMonster/TemplateMonster.css?16 HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /EasyPAY/view/jquery.js?11 HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /EasyPAY/view/jqHelper.js?14 HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /EasyPAY/view/PageLoader.js?4 HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /App_Themes/TemplateMonster/Custom/TabStrip.Custom.css HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /App_Themes/TemplateMonster/Master.css?12 HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /EasyPAY/view/img/signInButton.png HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:32 +0530] "GET /EasyPAY/view/img/signInButton2.png HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:33 +0530] "GET /EasyPAY/view/img/top.png HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:33 +0530] "GET /EasyPAY/view/img/signInButton.png HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:33 +0530] "GET /EasyPAY/view/img/signInButton2.png HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:33 +0530] "GET /EasyPAY/view/img/LoginHeadBg.png HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
xx.xx.xx.xx - - [29/Jan/2017:09:48:33 +0530] "GET /favicon.ico?2 HTTP/1.1" 404 1245 "http://abc.xyz.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
Subject Author Posted

Nginx reverse proxy issue -- Plz help

blason January 28, 2017 11:21PM

Re: Nginx reverse proxy issue -- Plz help

Francis Daly January 29, 2017 01:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready