Correction de port

Le port 8000 est réservé au serveur de dev
This commit is contained in:
Martin Pépin 2016-09-12 17:04:50 +02:00
parent f37bdd90b7
commit 7e48210a51
2 changed files with 4 additions and 4 deletions

View file

@ -6,9 +6,9 @@
ProxyRequests Off ProxyRequests Off
ProxyPass /static/ ! ProxyPass /static/ !
ProxyPass /media/ ! ProxyPass /media/ !
ProxyPass /ws/ ws://127.0.0.1:8000/ws/ ProxyPass /ws/ ws://127.0.0.1:8001/ws/
ProxyPass / http://127.0.0.1:8000/ ProxyPass / http://127.0.0.1:8001/
ProxyPassReverse / http://127.0.0.1:8000/ ProxyPassReverse / http://127.0.0.1:8001/
Alias /media /vagrant/media Alias /media /vagrant/media
Alias /static /var/www/static Alias /static /var/www/static

View file

@ -10,7 +10,7 @@ stopasgroup=true
redirect_stderr=true redirect_stderr=true
[program:interface] [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" environment=DBUSER="cof_gestion",DBNAME="cof_gestion",DBPASSWD="4KZt3nGPLVeWSvtBZPSM3fSzXpzEU4"
directory=/vagrant/ directory=/vagrant/
redirect_stderr=true redirect_stderr=true