Last active
May 26, 2023 12:26
-
-
Save vladak/acb806a0f64d4c5b34009e9acf255c17 to your computer and use it in GitHub Desktop.
Apache reverse proxy configuration for OpenGrok
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
LoadModule proxy_module libexec/mod_proxy.so | |
LoadModule proxy_http_module libexec/mod_proxy_http.so | |
# Assuming OpenGrok was deployed to /source and the application server listens for plain HTTP on port 8080. | |
<IfModule mod_proxy.c> | |
# The number of seconds Apache httpd waits for data sent by / to the backend. | |
# This should match the `interactiveCommandTimeout` setting in OpenGrok. | |
ProxyTimeout 600 | |
ProxyPass /source/ http://localhost:8080/source/ | |
ProxyPass /source http://localhost:8080/source/ | |
ProxyPassReverse /source/ http://localhost:8080/source/ | |
ProxyPassReverse /source http://localhost:8080/source/ | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment