Welcome! Log In Create A New Profile

Advanced

Re: location settings for Django Uwsgi Nginx Configuration for production

Francis Daly
September 17, 2017 01:34PM
On Sun, Sep 17, 2017 at 09:16:12AM -0400, sandyman wrote:

Hi there,

> I'm back to where I started. I added to my config
>
> location = /test-this/ { return 200 "Yes, this is correct\n"; }
>
> I stopped and started nginx , and restarted the server
>
> and then requesting http://www.sandyman.xyz/test-this/
>
> I get the 404

That says that the nginx.conf that the running nginx is actually using
is not the nginx.conf that you are editing.

Until you can edit the correct section of the file, you will not be able
to fix things.

> Request URL:http://www.asandhu.xyz/test-this/

Note that "sandyman" and "asandhu" are not the same thing.

Perhaps you are not connecting to the IP address that you want to be
connecting to?

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

location settings for Django Uwsgi Nginx Configuration for production

sandyman September 15, 2017 08:29AM

Re: location settings for Django Uwsgi Nginx Configuration for production

itpp2012 September 15, 2017 08:38AM

Re: location settings for Django Uwsgi Nginx Configuration for production

sandyman September 15, 2017 09:43AM

Re: location settings for Django Uwsgi Nginx Configuration for production

itpp2012 September 15, 2017 01:44PM

Re: location settings for Django Uwsgi Nginx Configuration for production

Francis Daly September 16, 2017 06:46AM

Re: location settings for Django Uwsgi Nginx Configuration for production

sandyman September 17, 2017 09:16AM

Re: location settings for Django Uwsgi Nginx Configuration for production

sandyman September 17, 2017 10:49AM

Re: location settings for Django Uwsgi Nginx Configuration for production

Francis Daly September 17, 2017 01:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready