I have a VPS with Apache with mod_php and nginx as a reverse proxy. A self signed certificate is installed and SSL (https) is forced on my server. Anyway, i'm having problems to generate the right base href.
My site generate always
<base href="http://" />
but i need
<base href="https://" />
I have read this thread http://xenforo.com/community/threads/cannot-change-boardurl.23525/ and this http://sleepycode.com/2010/12/phpmyadmin-using-login-with-nginx-behind-a-https-auth-login/. I have also talked to my hoster. He says fast_cgi does not work on my server.
Is there another way to let the server generate the right base href (https) on my VPS?
Because when i change the board url in XenForo it doesn't help at all. I've tried to set it to:
https://mysite.com/board
and
//mysite.com/board
edit: I've sent the url to my hoster and he checked it and said:
I also think now it is for sure a XenForo problem. Because my IPB on the same server/domain works without any problems with SSL and generates automatically the right <base href="https://"> links. ( I have added https:// as board_url in the conf_global.php though )
My site generate always
<base href="http://" />
but i need
<base href="https://" />
I have read this thread http://xenforo.com/community/threads/cannot-change-boardurl.23525/ and this http://sleepycode.com/2010/12/phpmyadmin-using-login-with-nginx-behind-a-https-auth-login/. I have also talked to my hoster. He says fast_cgi does not work on my server.
from me:
Here is the instruction:
>>The simplest solution is just to add this to fastcgi_params.
fastcgi_param HTTPS on;
fastcgi_param HTTP_SCHEME https;
from hoster:
Your VPS does not work as FastCGI server.
Apache with mod_php and nginx as a reverse proxy.
from me:
So is it not possible for me to let the server generate
<base href="https://" />
instead of
<base href="http://" />
?
from hoster:
It is possible. It should be changed in settings of your CMS.
Is there another way to let the server generate the right base href (https) on my VPS?
Because when i change the board url in XenForo it doesn't help at all. I've tried to set it to:
https://mysite.com/board
and
//mysite.com/board
edit: I've sent the url to my hoster and he checked it and said:
You have "base href" tag inside the HTML code of the page.
This part (html code) is not controlled by server. It depends only on setting of your CMS.
I also think now it is for sure a XenForo problem. Because my IPB on the same server/domain works without any problems with SSL and generates automatically the right <base href="https://"> links. ( I have added https:// as board_url in the conf_global.php though )