# vim: set ft=apache :
ProxyRequests off
ProxyPreserveHost on
ProxyPass /api http://localhost:8001/api
ProxyPassReverse /api http://localhost:8001/api
ProxyPass /admin http://localhost:8001/admin
ProxyPassReverse /admin http://localhost:8001/admin
ProxyPass /events ws://localhost:8888/events
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule /.* https://%{SERVER_NAME}$0
Alias /static /usr/local/lib/taiga/taiga-back/static
Require all granted
Alias /media /usr/local/lib/taiga/taiga-back/media
Require all granted
DocumentRoot /usr/local/lib/taiga/taiga-front-dist/dist
Require all granted
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [L]