Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork125
Open
Description
If there is no FPM available and an installed HTTPS certificate, Symfony server will proxy requests to the built-in PHP development server. It will lead to an infinite loop of redirects if HTTPS is required. The reason isassert(empty($_SERVER['HTTPS'])).
The simples workaround is to add a line intopublic/index.php:
$_SERVER['HTTPS'] = 'on';Another solution is to use FPM. Unfortunately, the VSCode devcontainers does not provide FPM out-of-the-box (seemicrosoft/vscode-dev-containers#1296)
Metadata
Metadata
Assignees
Labels
No labels