We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Remove the below lines out of the nginx.conf, and you just need to run the NGINX daemon via chkconfig/systemd. No need to use supervisor or gunicorn.
Remove lines:
daemon off; location /api { try_files $uri @api; } location @api { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; proxy_buffering off; proxy_pass http://127.0.0.1:8888; }