ejabbered change web panel adress

Hi

I need some help.

I installed ejabbered and it works great, but i need to change web panel address.
Default adress is http://domain.com:5280/admin, but i need to change it to domain.com, withought port number in url.
I have apache2 web server and i try:

ProxyPass / http://domain.com:5280/admin/
ProxyPassReverse / http://domain.com:5280/admin/

but it does not work properly.

Can you help me add domain to apache configuration?

OK, I found the

OK, I found the solution.

Apache2 configuration:

ServerName example.com

Redirect permanent / http://example.com/admin
....
....
ProxyPass /admin http://example.com:5280/admin
ProxyPassReverse /admin http://example.com:5280/admin

And you don't need port number in url address

Syndicate content