Page History
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.
Code Block | ||||
---|---|---|---|---|
| ||||
a2enmod proxy a2enmod proxy_http |
2. Find and open for editing WebSpellChecker config (2_WebInterface.conf) for Apache Apache.
- File location on Linux-based environments: /etc/apache2/conf-available/2_WebInterface.conf
Code Block | ||||
---|---|---|---|---|
| ||||
/etc/apache2/conf-available# nano 2_WebInterface.conf |
3. At the very top or end of the file, add ProxyPass with the path to the application server (AppServer).
Code Block | ||
---|---|---|
| ||
ProxyPass "/wscservice/api" "http://localhost:2880"
... |
4. Save file and restart Apache.Restart Apache
Code Block | ||||
---|---|---|---|---|
| ||||
service apache2 restart |
5. In your browser, check version and status of the AppServer to verify if it works properly.
Excerpt Include IN:_include_validate_status_browser_terminal_ubuntu IN:_include_validate_status_browser_terminal_ubuntu nopanel true