Apache HTTP Server as a reverse proxy on Ubuntu
a2enmod proxy
a2enmod proxy_http/etc/apache2/conf-available# nano 2_WebInterface.confProxyPass "/wscservice/api" "http://localhost:2880"
...service apache2 restartLast updated
Was this helpful?
To avoid exposing an additional port, AppServer port 2880, you can configure Apache HTTP Server to act as a reverse proxy.
1. Enable mod_proxy and mod_proxy_http modules using a2enmod script within Apache configuration.
a2enmod proxy
a2enmod proxy_http2. Find and open for editing WebSpellChecker config (2_WebInterface.conf) for Apache.
File location on Linux-based environments: /etc/apache2/conf-available/2_WebInterface.conf
/etc/apache2/conf-available# nano 2_WebInterface.conf3. At the very top or end of the file, add ProxyPass with the path to the application server (AppServer).
ProxyPass "/wscservice/api" "http://localhost:2880"
...4. Save file and restart Apache.
service apache2 restartCheck the status: https://localhost/wscservice/api?cmd=status
Last updated
Was this helpful?
Was this helpful?

