remotes/origin/dev
root 7 years ago
parent 39c965e283
commit 2c8606b9ce
  1. 21
      docker/conf/nginx/conf.d/default.conf
  2. 14
      docker/conf/supervisor/flower.conf

@ -1,3 +1,24 @@
server {
listen 80;
server_name ~^flower.+;
root /dev/null;
access_log off;
error_log /dev/stdout;
log_not_found off;
location / {
proxy_pass http://127.0.0.1:5555;
proxy_set_header Host $host;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
server {
listen 80 default_server;

@ -0,0 +1,14 @@
[program:celery]
command=/usr/local/bin/flower --config=settings --address=0.0.0.0
directory=/app/
environment=HOME="/var/www"
autostart=true
autorestart=true
user=www-data
redirect_stderr=true
stopsignal=KILL
stopasgroup=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stdout
stderr_logfile_maxbytes=0
Loading…
Cancel
Save