Skip to content

Instantly share code, notes, and snippets.

@pahud
Created April 3, 2015 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pahud/336d63b4e14ed2a9f288 to your computer and use it in GitHub Desktop.
Save pahud/336d63b4e14ed2a9f288 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