Effectively it was necessary to restart gunicorn every time that I modify
the file urls.py so that the changes take effect. I did not know that. I did
it like that:
$ systemctl daemon-reload
$ systemctl restart gunicorn
Thanks for the help.
Posted at Nginx Forum:
https://forum.nginx.org/read.
> I've also tried adding "/" and throwing the same error. I have also added to
> the
> .conf file:
>
> location = / {
> include proxy_params;
> proxy_pass http://unix:/run/gunicorn.sock; }
>
> before the fragment location / {..} with the same error.
> This error is very stran
I've also tried adding "/" and throwing the same error. I have also added to
the .conf file:
location = / {
include proxy_params;
proxy_pass http://unix:/run/gunicorn.sock;
}
before the fragment location / {..} with the same error.
This error is very strange. The configuratio
> but https://15.15.15.15/ throw error "Not found: The requested URL / was not
> found on this server. ", And I can not find the error. This is the
> configuration:
> and urls.py django:
>
> urlpatterns = [
> path('', RedirectView.as_view(url='/inicio/', permanent=True)),
> path('inicio/',
I'm testing Nginx with a django application, the requests
https://15.15.15.15/admin/ and https://15.15.15.15/inicio/ work correctly,
but https://15.15.15.15/ throw error "Not found: The requested URL / was not
found on this server. ", And I can not find the error. This is the
configuration:
server