View Single Post
  #1  
Old 7th November 2012, 13:33
pfaf pfaf is offline
Junior Member
 
Join Date: Jun 2012
Location: Nikea, Greece
Posts: 9
Thanks: 2
Thanked 3 Times in 2 Posts
Default How to redirect ISPConfig Panel to websites

Hello to everyone,

we have disallowed IspConfig access by refusing connections to port 8080 from everywhere but the localhost and we use port redirection via SSH to access the IspConfig Control panel.

We are running ISPConfig3 on Debian Sqeeze, Nginx, PHP-FPM, etc, based on the wonderful how-to by djh-compnet & falco. Check Tutorial: The Perfect Server Debian Squeeze (Debian 6.0) With BIND, Dovecot & Nginx [ISPConfig 3]

We would like to allow on some client websites to use the IspConfig control panel. We have also enabled SSL on the website.
i.e. we want to access ISPConfig via
https://www.example.org/ispconfig

We have tried to use the following redirection rule in NGINX:

location /ispconfig {
rewrite ^/ispconfig/(.*)$ $1 break;
proxy_pass https://127.0.0.1:8080;
proxy_redirect off;
proxy_buffering off;
}

but it does not work, and we get a 404 error.

Do we need to disable https at the ispconfig site?

Does anybody know how to overcome this?

Thank you all in advance for your support.

Kind regards,

Panos.

Last edited by pfaf; 7th November 2012 at 13:35.
Reply With Quote
Sponsored Links