Created
July 10, 2017 13:05
-
-
Save fradaloisio/6d430b62fcf54fe0d5cc28c10f0e8d89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## BOSUN | |
RewriteRule /alerting/static/js/bosun.js /var/www/html/my-static/js/bosun.js [L] | |
<Location /alerting> | |
AddOutputFilterByType SUBSTITUTE text/html text/plain text/xml text/css text/javascript application/javascript application/json | |
Substitute "s#href=\"/#href=\"/alerting/#ni" | |
Substitute "s#ng-href=\"/#ng-href=\"/alerting/#ni" | |
Substitute "s#src=\"/#src=\"/alerting/#ni" | |
Substitute "s#data-path=\"/#data-path=\"/alerting/#ni" | |
Substitute "s#MYHOST/#MYHOST/alerting/#ni" | |
</Location> | |
ProxyPass /alerting/static http://localhost:8070/static timeout=180 | |
ProxyPassReverse /alerting/static http://localhost:8070/static timeout=180 | |
ProxyPass /alerting/api http://localhost:8070/api timeout=180 | |
ProxyPassReverse /alerting/api http://localhost:8070/api timeout=180 | |
ProxyPass /alerting/partials http://localhost:8070/partials timeout=180 | |
ProxyPassReverse /alerting/partials http://localhost:8070/partials timeout=180 | |
ProxyPass /alerting http://localhost:8070 timeout=180 | |
ProxyPassReverse /alerting http://localhost:8070 timeout=180 | |
ProxyPass /api/ http://localhost:8070/api/ timeout=180 | |
ProxyPassReverse /alerting/api/ http://localhost:8070/api/ timeout=180 | |
ProxyPass /partials/ http://localhost:8070/partials/ timeout=180 | |
ProxyPassReverse /partials/ http://localhost:8070/partials/ timeout=180 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment