summaryrefslogtreecommitdiffstats
path: root/cvp/docker/supervisor/conf.d/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'cvp/docker/supervisor/conf.d/nginx.conf')
-rw-r--r--cvp/docker/supervisor/conf.d/nginx.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/cvp/docker/supervisor/conf.d/nginx.conf b/cvp/docker/supervisor/conf.d/nginx.conf
new file mode 100644
index 00000000..72231abd
--- /dev/null
+++ b/cvp/docker/supervisor/conf.d/nginx.conf
@@ -0,0 +1,11 @@
+[program:nginx]
+command = /usr/sbin/nginx
+process_name=%(program_name)s
+numprocs = 1
+autostart = true
+autorestart=true
+startsecs = 5
+user = root
+redirect_stderr = true
+stdout_logfile = /var/log/supervisor/nginx.log
+stderr_logfile =/var/log/supervisor/ghost_err.log