Logo Help Center

Running Elvis 6 Server in combination with Apache

Running Elvis 6 Server in combination with Apache

For production environments it is highly advised to run Elvis Server on a dedicated machine. For demo machines or small setups, Elvis Server may have to be installed on an existing machine that is already running an Apache Web server. To prevent having to access Elvis Server with an additional port number you can set up a "reverse proxy" configuration in Apache to forward requests to the Elvis server.

Step 1. Add the following setting to the node-config.properties.txt file of Elvis Server:


Step 2. Add a proxy config to Apache.

Note: On a standard Mac OS X machine you can use or create a proxy.conf file in /private/etc/apache2/other containing something similar to this:

    <IfModule proxy_module>

           ProxyRequests Off

           <Proxy *>
                   Order deny,allow
                   Allow from all

           ProxyPreserveHost On
           ProxyPass /elvis http://localhost:8080/elvis
           ProxyPassReverse /elvis http://localhost:8080/elvis

Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request


Please sign in to leave a comment.