- Issue created by @useernamee
We had to register the server itself as reverse proxy in lupus-decoupled-project in order for it to properly work on codespaces. Without this the "View API Output" was redirecting the user to http://localhost:80 instead of the proper codespaces BE url.
Configure nginx to properly handle $_SERVER['REMOTE_ADDR'] so that we can remove
$settings['reverse_proxy'] = TRUE; $settings['reverse_proxy_addresses'] = [$_SERVER['REMOTE_ADDR']]; $settings['reverse_proxy_header'] = Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PROTO;
from settings.php
Active
1.0
Code