Re: Configuration problem: request default 15.15.15.15/ not working

2018-09-26 Thread Frank_Mascarell
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.

RE: RE: Configuration problem: request default 15.15.15.15/ not working

2018-09-26 Thread Reinis Rozitis
> 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

Re: RE: Configuration problem: request default 15.15.15.15/ not working

2018-09-25 Thread Frank_Mascarell
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

RE: Configuration problem: request default 15.15.15.15/ not working

2018-09-25 Thread Reinis Rozitis
> 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/',

Configuration problem: request default 15.15.15.15/ not working

2018-09-24 Thread Frank_Mascarell
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