7e48210a51
Le port 8000 est réservé au serveur de dev
29 lines
640 B
ApacheConf
29 lines
640 B
ApacheConf
<VirtualHost *:80>
|
|
ServerName default
|
|
DocumentRoot /var/www/html
|
|
|
|
ProxyPreserveHost On
|
|
ProxyRequests Off
|
|
ProxyPass /static/ !
|
|
ProxyPass /media/ !
|
|
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
|
|
<Directory /vagrant/media>
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
<Directory /var/www/static>
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
</VirtualHost>
|
|
|
|
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|