Nginx + gunicorn conf invalid syntax
Created by: gbrann
Ok. I got everything running with no permission issues. Before I removed the default settings for nginx that served the baseline "Welcome to NGINX" - yep, this came up fine.
I have my NGINX conf as follows:
server {
listen 80;
server_name auth.eve-nein.org;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
alias /home/allianceserver/allianceauth/static/;
autoindex off;
}
# Gunicorn config goes below
location / {
include proxy_params;
proxy_pass http://127.0.0.1:8000;
proxy_read_timeout 90;
proxy_redirect http://127.0.0.1:8000/ http://auth.eve-nein.org/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}
This is where the issue comes up. Now that I removed the default site, it comes up as a Failed Connection to the port forwarding to :8000.
I have confirmed that GUNICORN works fine.
This is my last and final issue in the install I believe.