1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/kalite/templates/kalite.conf

39 lines
1.4 KiB
Text

<VirtualHost *:80>
ProxyRequests Off
ProxyVia Off
ProxyPass /kalite http://127.0.0.1:8008
ProxyPassReverse /kalite http://127.0.0.1:8008
ProxyPass "/learn" "http://127.0.0.1:8008/learn"
ProxyPassReverse "/learn" "http://127.0.0.1:8008/learn"
ProxyPass "/kalite_mgmt" "http://127.0.0.1:8008/management"
ProxyPassReverse "/kalite_mgmt" "http://127.0.0.1:8008/management"
ProxyPass "/coachreports" "http://127.0.0.1:8008/coachreports"
ProxyPassReverse "/coachreports" "http://127.0.0.1:8008/coachreports"
ProxyPass "/static" "http://127.0.0.1:8008/static"
ProxyPassReverse "/static" "http://127.0.0.1:8008/static"
ProxyPass "/update" "http://127.0.0.1:8008/update"
ProxyPassReverse "/update" "http://127.0.0.1:8008/update"
ProxyPass "/_generated" "http://127.0.0.1:8008/_generated"
ProxyPassReverse "/_generated" "http://127.0.0.1:8008/_generated"
ProxyPass "/securesync" "http://127.0.0.1:8008/securesync"
ProxyPassReverse "/securesync" "http://127.0.0.1:8008/securesync"
ProxyPass "/api" "http://127.0.0.1:8008/api"
ProxyPassReverse "/api" "http://127.0.0.1:8008/api"
ProxyPass "/kalite_content" "http://127.0.0.1:8008/content"
ProxyPassReverse "/kalite_content" "http://127.0.0.1:8008/content"
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|/management/|/kalite_mgmt/|i"
Substitute "s|/content/|/kalite_content/|i"
</VirtualHost >