Re: RE: [IE] localhost works but server_name times out!

2018-02-06 Thread Credo
Sorry, I posted the wrong configuration. I did add the server_name I was using. I just changed it to localhost to see what happens. But when the server name was the one I was using, I only got time outs! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278386,278393#msg-278393 _

Re: Allow and Deny IP's

2018-02-06 Thread Francis Daly
On Mon, Feb 05, 2018 at 11:56:04PM +0530, Kaushal Shriyan wrote: Hi there, > When i run this curl call -> curl -X GET http://13.127.165.226/ -H > 'cache-control: no-cache' -H 'postman-token: > 2494a4a7-6791-2426-cedf-d0bcaa1cd90a' -H 'x-forwarded-for: 12.12.12.13.11' > > Ideally the request shou

Re: Allow and Deny IP's

2018-02-06 Thread Francis Daly
On Tue, Feb 06, 2018 at 01:02:22AM +0100, Ph. Gras wrote: Hi there, > location ~* wp-login\.php$ { > 185.124.153.168 - - [05/Feb/2018:21:36:12 +0100] "GET /wp-login.php HTTP/1.1" > 200 1300 "-" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 > Firefox/34.0" > Me too :-( Have you any re

RE: [IE] localhost works but server_name times out!

2018-02-06 Thread Jason Whittington
Try adding the server name you are using to the server_name directive. You can specify multiple, e.g: server_name dog cat dogcat; Jason -Original Message- From: nginx [mailto:nginx-boun...@nginx.org] On Behalf Of Credo Sent: Tuesday, February 06, 2018 9:30 AM To: nginx@nginx.org Subjec

localhost works but server_name times out!

2018-02-06 Thread Credo
I'm new to nginx and I'm trying to learn it fast so that I can use it in a work project. But I have a weird problem. I have a django project which I run using uwsgi and I'm trying to use nginx as a reverse proxy for it. It works fine as long as I access it through localhost:port, but when I use the

Re: Allow and Deny IP's

2018-02-06 Thread Kaushal Shriyan
On Tue, Feb 6, 2018 at 5:32 AM, Ph. Gras wrote: > Hello there! > > > location ~* wp-login\.php$ { > allow 127.0.0.1; > allow A.B.C.D; // My server's IP > allow E.F.G.H/13; // The IP range where I am > deny all; > if ($http_user_agent

Re: Help needed on Nginx plus configuration

2018-02-06 Thread Igor A. Ippolitov
Akhil, As a trial user you can ask evaluati...@nginx.com to help you with this setup. API queries data in status zones. You should configure one for your upstream with 'zone backend 64k;' or similar statement inside upstream{} block. Regards. On 06.02.2018 15:21, Akhil Dangore wrote: Hell

Help needed on Nginx plus configuration

2018-02-06 Thread Akhil Dangore
Hello Team, I am trying Nginx plus for our company product, Currently I am using trail account to achieve our requirement but I am facing some issue. Details explanation of issue: * I have configured Nginx plus with attatched file, Here I have enabled nginx API to reconfigure nginx plus r