digitalocean/nginxconfig.io

nginx: [emerg] "uwsgi_pass" directive is not allowed here in

Open

#150 opened on Jun 10, 2020

View on GitHub
 (6 comments) (0 reactions) (0 assignees)JavaScript (1,978 forks)batch import
bughacktoberfesthelp wanted

Repository metrics

Stars
 (26,979 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, simple config: Server default, SSL disabled, PHP disabled, Python enabled, Routing default, Logging default.

Service for Nginx reporting:

nginx: [emerg] "uwsgi_pass" directive is not allowed here in /etc/nginx/nginxconfig.io/python_uwsgi.conf:5

hence, service does not start on Ubuntu based system, latest release.

Line 5 is: uwsgi_pass unix:/tmp/uwsgi.sock;

Settings attached in PDF.

NGINX Config _ DigitalOcean.pdf

Please advice.

Thanks

Contributor guide