Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Created November 19, 2023 08:18
Show Gist options
  • Save kjunichi/04a52bcc09d833024b6116aa83292321 to your computer and use it in GitHub Desktop.
Save kjunichi/04a52bcc09d833024b6116aa83292321 to your computer and use it in GitHub Desktop.
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
Listen 80
<VirtualHost *:80>
DocumentRoot "/usr/local/apache2/htdocs"
ServerName test_server.com:80
ErrorLog logs/test_server_error_log
CustomLog logs/test_server_access_log combined env=!no_log
ProxyPass /test_server ajp://tomcat:8009
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment