Question
Nginx welcome page not going away!
I have analyzed all previous answers to this question and nothing is helping me. I have a django and nginx installation on a Ubuntu 16.04 droplet.
Here is the snippet from my /etc/nginx/sites-available/ , which also is linked to the /sites-enabled directory
server {
listen 80;
server_name **my.droplet.IP.address**;
charset utf-8;
client_max_body_size 10m;
client_body_buffer_size 128k;
# serve static files
location /static/ {
alias /home/**app-name**/app/static/;
}
location /home/ {
include proxy_params;
proxy_pass http://unix:/home/**app-name**/django.sock;
}
}
If someone could please help me, everything seems to be pointing to the right folder, ironically I am trying to learn django but I can’t even get it installed right on the server!
I will be pending this thread so if any more information is needed please let me know!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
PS: I have deleted the default file and symbolic link, I have tried adding return 404 (it returns a 404 error instead of welcome to nginx LOL)