Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_TOO_MANY_REDIRECTS with HTTPS = 'On' - vol.2 #2100

Closed
Sulpher opened this issue Mar 21, 2021 · 1 comment
Closed

ERR_TOO_MANY_REDIRECTS with HTTPS = 'On' - vol.2 #2100

Sulpher opened this issue Mar 21, 2021 · 1 comment
Assignees

Comments

@Sulpher
Copy link

Sulpher commented Mar 21, 2021

Start of the discussion: getgrav/grav#3155

the front-end works, the admin panel gets endless redirects.
If I add this line:
$_SERVER['HTTPS'] = 'on'
then the admin panel is loading correctly.

PHP Built On | Linux vh306 5.4.0-58-generic getgrav/grav#64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64
PHP Version | 7.4.10
Web Server | Apache/2.4.29
WebServer to PHP Interface | apache2handler

Info from hosting support team:
The hosting uses common work of web servers Nginx+Apache. Nginx is responsible for processing static files.

@mahagr mahagr transferred this issue from getgrav/grav Mar 22, 2021
@mahagr mahagr self-assigned this Mar 22, 2021
@mahagr mahagr added the bug label Mar 22, 2021
@mahagr
Copy link
Member

mahagr commented Mar 22, 2021

Found a bug here while fixing something else: https://github.com/getgrav/grav-plugin-admin/blob/develop/admin.php#L504-L510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants