Non-secure ajax request if TYPO3 is running behing SSL proxy

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
loeffe1
Posts: 52
Joined: 21 Feb 2020, 10:33

Non-secure ajax request if TYPO3 is running behing SSL proxy

Post by loeffe1 » 09 Dec 2020, 09:03

My TYPO3 is running behind a SSL proxy and while the entire page is using secure URLs all ajax requests to /jsonapi will use http and will therefore fail due to a mixed content error. How can I configure aimeos to use https?

Running Typo3 9.5.19, aimeos 19.10.2, PHP 7.2

Image

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Non-secure ajax request if TYPO3 is running behing SSL proxy

Post by aimeos » 12 Dec 2020, 07:47

Did you configure https://yourdomain.tld/ in your site configuration? This should force the typoLink method and the UriBuilder to use HTTPS for all links.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
loeffe1
Posts: 52
Joined: 21 Feb 2020, 10:33

Re: Non-secure ajax request if TYPO3 is running behing SSL proxy

Post by loeffe1 » 11 Jan 2021, 08:09

Yes, site configuration includes the secure urls. I have tested this in two other environments and there it is working, I am unsure why this happens with one of my environments.

Post Reply