php-spx
php-spx copied to clipboard
No UI on site hosted behind Reverse Proxy
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?
Can you paste here the corresponding PHP logs ?
At this is problem... no logs present on PHP or Nnginx
@actorius try to add this
spx.http_trusted_proxies=REMOTE_ADDR