StephenMiracle / frankenwp

MIT License
117 stars 12 forks source link

Front site keeps redirecting to :80 #28

Closed sveken closed 5 days ago

sveken commented 6 days ago

Hello. In my setup i have franekwp behind a cloudflared tunnel. Visiting the admin side /wp-admin all works correctly . However the issue is when i try navigating to the front/public side of wordpress. It will redirect me to a https://url:80 which fails as there is no ssl on 80.

I have tried removing :80 in the environmental SITE_NAME however this breaks with a gateway error, the WP_config extra options are all set to https://domain, and in /wp-admin the correct site url appears to be in wordpress.

using the site in http mode does work correctly. But i would like to use https on the internet.

Where is the forced redirection back to :80 happening and can i disable it? Normally cloudflared handles local http webservers and makes them https on the internet fine.

sveken commented 6 days ago

It seems navigating around pages on the menu also work on the front of the site, its only when i try to visit the home page or root of the site.

sveken commented 5 days ago

I will have to explore this another time as i have swapped to the official image for my current project. Seems my browser was caching this redirect as swapping to the official image also still had it until i tried another browser.