Support

Admin Tools

#10844 Convert all links to HTTPS when site is accessed over SSL

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Saturday, 28 January 2012 06:23 CST

user51487
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5
PHP version: 5.3.8
MySQL version: 5.5.14
Host: rackspace
Admin Tools version: latest

Description of my issue:

i use nginx on the front end as a proxy, and apache on backend. ssl is set up on nginx.

i'm able to go to an https page, however all the links to js & css files are non-secure as are the links.

i have turned on Convert all links to HTTPS when site is accessed over SSL

but it does not seem to work


nicholas
Akeeba Staff
Manager
Think about it. It's normal. You are proxying an insecure (HTTP) site over a secure (HTTPS) proxy. This is because you are using NginX as a proxy server and, as you said, SSL is only set up on the proxy (NginX) side. How would you expect Apache to know that? As far as Apache knows (therefore, as far as PHP, Joomla! and Admin Tools know) your site is being accessed over HTTP.

The only workaround is to set Force SSL to All in your site's Global Configuration. This will force Joomla! to use HTTPS links for all pages and notify Admin Tools that the site is being accessed over HTTPS.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user51487
thanks

i tried this already and get this when trying to access the site on https:

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

nicholas
Akeeba Staff
Manager
This seems to be an issue of your Apache-NginX setup. Sorry, I can not help with this setup as I've never tried using it myself :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!