Reverse proxy with HTTPS offload, NOVA thinks it is on HTTP
4 posts
• Page 1 of 1
Reverse proxy with HTTPS offload, NOVA thinks it is on HTTP
Hello,I am trying to run NOVA behind a reverse proxy with https offload. Let's call it https://nova.myserver.com
However, since Nova itself is running on a HTTP server, it thinks it is actually running without https, trying to invoke all the subcomponents on http://nova.myserver.com
Is there a way to tell Nova to search for its components on httpS://nova.myserver.com?
If I configure the reverse proxy to serve Nova over regular http, it all works fine, so I do have a workaround.
-
-
Posts: 10
Re: Reverse proxy with HTTPS offload, NOVA thinks it is on H
Nova attempts to intelligently build the URL for the site for you. (Helpful, huh?) Turns out, you've managed to trick Nova. I think you can get around it by explicitly setting the base URL. In order to do that, you can put this line:- Code: Select all
$config['base_url'] = 'https://reverse-proxy.nova.site';
In your application/config/config.php file after it pulls in everything from the core. That SHOULD force Nova to use the URL you're specifying instead of what it thinks it should be.
Re: Reverse proxy with HTTPS offload, NOVA thinks it is on H
Hello AgentPhoenix,Thanks for your reaction. This seems to have done the trick.
(Especially after replacing 'https://reverse-proxy.nova.site' with my actual site, of course... Hurrderp...

I guess https://fawkes.lcnessie.nl is live...
-
-
Posts: 10
Re: Reverse proxy with HTTPS offload, NOVA thinks it is on H
Glad you were able to outsmart Nova
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot] and 2 guests