Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th November 2012, 14:33
pfaf pfaf is offline
Junior Member
 
Join Date: Jun 2012
Location: Nikea, Greece
Posts: 13
Thanks: 3
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 14:35.
Reply With Quote
Sponsored Links
  #2  
Old 8th November 2012, 17:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Can you try
Code:
proxy_pass https://127.0.0.1:8080/;
instead?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th November 2012, 13:06
pfaf pfaf is offline
Junior Member
 
Join Date: Jun 2012
Location: Nikea, Greece
Posts: 13
Thanks: 3
Thanked 3 Times in 2 Posts
Default

OK, it is better now, i got the following... check the attachment also..

But it is still not going anywhere...

What are we missing?

Quote:
Skip to the navigation. Skip to the content.

ISPConfig 3

hosting control panel


Powered by ISPConfig



Quote:
Originally Posted by falko View Post
Can you try
Code:
proxy_pass https://127.0.0.1:8080/;
instead?
Attached Images
 
Reply With Quote
  #4  
Old 10th November 2012, 12:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Change
Code:
rewrite ^/ispconfig/(.*)$ $1 break;
to
Code:
rewrite ^/ispconfig/(.*)$ /$1 break;
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 11th November 2012, 17:23
pfaf pfaf is offline
Junior Member
 
Join Date: Jun 2012
Location: Nikea, Greece
Posts: 13
Thanks: 3
Thanked 3 Times in 2 Posts
 
Default

No, unfortunately we have the result like the image i have already posted in this thread...

Skip to the navigation. Skip to the content.
ISPConfig 3
hosting control panel
Powered by ISPConfig
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 20:02
All files gone after changing quota to 0 spynode General 17 19th January 2012 15:41
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 13:04
Is there a Script to add Multiple Domains (websites) to ISPCONFIG??? bpmee Programming/Scripts 2 23rd February 2007 02:33
websites outside ISPConfig guidovanh Installation/Configuration 13 7th March 2006 23:56


All times are GMT +2. The time now is 06:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.