Page 1 of 1

https port

Posted: Fri May 15, 2015 2:56 am
by mestresan
Hi,
I am using VestaCP... and I found a problem...

I have one domain that use SSL for some pages.
For any reason, the system cant detect correct port when using https:// ... always show me link port 80.

I am using proxy_cache with default setup from vesta.

How fix this. I need system work correct... before vesta install, was OK !

Re: https port

Posted: Fri May 15, 2015 5:40 pm
by mestresan
explaining...
in host no-vestacp.. apache + nginx reverse proxy... var $_SERVER returns, when acessing with https :
[SERVER_PORT] => 443
[HTTPS] => on

when http
[SERVER_PORT] => 80
[HTTPS] =>

----
in vestacp...
apache template fcgi + nginx template caching, always returns:
[SERVER_PORT] => 80

I already put fastcgi_params in nginx.conf from domain, but dont respect... dont show

Re: https port

Posted: Mon Jun 01, 2015 1:06 pm
by skurudo
What's about redirect from http -> https?