#panel is redirecting everything to https
6 messages · Page 1 of 1 (latest)
I fixed this by removing trusted proxies and app_url from .env
You need the app_url... if you want it to be http just change it to http:// in the app_url
what errors would happen without the app_url?
The APP_URL tells the panel where to take you. If there is no APP_URL the entire panel will most likely break next time you restart your webserver.
For example, with APP_URL pointing to https://panel.mydomain.net that's where it will take you when you want to go to a url, such as the admin page. It would try to take you to https://panel.mydomain.net/admin
The only part it's programmed with is the /admin
The https://panel.mydomain.net is just read from that variable, ie. When Gear Button is clicked, redirect to $APP_URL/admin