Nginx reverse proxy issue -- Plz help

blason nginx-forum at forum.nginx.org
Sun Jan 29 04:21:19 UTC 2017


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"

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272174,272174#msg-272174



More information about the nginx mailing list