diff --git a/provisioning/apache.conf b/provisioning/apache.conf index 6bc1cd28..001c6ec9 100644 --- a/provisioning/apache.conf +++ b/provisioning/apache.conf @@ -6,9 +6,9 @@ ProxyRequests Off ProxyPass /static/ ! ProxyPass /media/ ! - ProxyPass /ws/ ws://127.0.0.1:8000/ws/ - ProxyPass / http://127.0.0.1:8000/ - ProxyPassReverse / http://127.0.0.1:8000/ + ProxyPass /ws/ ws://127.0.0.1:8001/ws/ + ProxyPass / http://127.0.0.1:8001/ + ProxyPassReverse / http://127.0.0.1:8001/ Alias /media /vagrant/media Alias /static /var/www/static diff --git a/provisioning/supervisor.conf b/provisioning/supervisor.conf index 814b8c35..487defe3 100644 --- a/provisioning/supervisor.conf +++ b/provisioning/supervisor.conf @@ -10,7 +10,7 @@ stopasgroup=true redirect_stderr=true [program:interface] -command=/usr/local/bin/daphne -b 127.0.0.1 -p 8000 cof.asgi:channel_layer +command=/usr/local/bin/daphne -b 127.0.0.1 -p 8001 cof.asgi:channel_layer environment=DBUSER="cof_gestion",DBNAME="cof_gestion",DBPASSWD="4KZt3nGPLVeWSvtBZPSM3fSzXpzEU4" directory=/vagrant/ redirect_stderr=true