Skip to content

Instantly share code, notes, and snippets.

@govindsharma7
Forked from pahud/nginx.conf for supervisor
Created January 24, 2018 10:33
Show Gist options
  • Save govindsharma7/7dbc1b3e7f46179ad7252af4ba923075 to your computer and use it in GitHub Desktop.
Save govindsharma7/7dbc1b3e7f46179ad7252af4ba923075 to your computer and use it in GitHub Desktop.
nginx.conf for supervisord with Docker
[program:nginx]
command=/opt/nginx/sbin/nginx -g "daemon off;"
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
autorestart=true
#user=nobody
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment