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

No UI on site hosted behind Reverse Proxy #232

Open
actorius opened this issue Oct 27, 2023 · 3 comments
Open

No UI on site hosted behind Reverse Proxy #232

actorius opened this issue Oct 27, 2023 · 3 comments

Comments

@actorius
Copy link

SPX is enabled in phpinfo() output
Trying open https://somedomain.com/spx/?SPX_KEY=dev&SPX_UI_URI=/ - opening my websitepage. This is Reverse Proxy host that target to Nginx-host
Trying open https://direct-host-name/spx/?SPX_KEY=dev&SPX_UI_URI=/ - opening SPX page. This is Nginx-host with proxy_pass to php-fpm

My config:

spx.debug =1
spx.http_enabled =1
spx.http_ip_whitelist ="*"
spx.http_key="dev"

Possible need set some headers on reverse proxy?

@NoiseByNorthwest
Copy link
Owner

Can you paste here the corresponding PHP logs ?

@actorius
Copy link
Author

At this is problem... no logs present on PHP or Nnginx

@kamil-karkus
Copy link

@actorius try to add this
spx.http_trusted_proxies=REMOTE_ADDR

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

No branches or pull requests

3 participants