Created
December 14, 2015 23:02
-
-
Save KhanMaytok/6843b0357b553cb6016a to your computer and use it in GitHub Desktop.
Apache 2 configuration for proxy
This file contains hidden or 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
<virtualhost *:80> | |
ServerName youtrack.ecapy.com | |
ProxyPreserveHost On | |
ProxyRequests Off | |
<proxy *> | |
Order deny,allow | |
Allow from all | |
</proxy> | |
ProxyPass /youtrack ajp://localhost:8009/youtrack | |
ProxyPassReverse /youtrack ajp://localhost:8009/youtrack | |
RewriteEngine On | |
RewriteRule ^/$ "http://youtrack.ecapy.com/youtrack" [L] | |
ErrorLog /var/log/apache2/yt-error.log | |
CustomLog /var/log/apache2/yt-access.log common | |
</virtualhost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment