When you first fire up most java web applications, they come with a port wart.
With AEM, an author instance binds to 4502, and a publish instance binds to 4503. You can manually change these ports to 80, but at the expense of several problems. By default, only root can bind to ports below 1024. Our options are as follows:
- Use IPTables to redirect port 80 to port 4502 / 4503
- Run the apps as root (not really an option)
- Setup Apache Web Server as a reverse proxy
- Other crazy options not worth considering
We run Stash internally with an Apache reverse proxy and it works extremely well. This has several advantages:
- Declare forwarding on a domain name basis
- Most sysadmins will be better at SSL on Apache than they would on AEM
- Proven to work well
- Secure
After about 2 minutes, I had Apache installed, and setup with a reverse proxy. Boom. No more port wart.
<VirtualHost *:*>
No comments:
Post a Comment
If you have any doubts or questions, please let us know.