Duplicate HTTP Header due to nginx php proxy to nginx using port 8080 #302

Closed
opened 2026-04-05 20:26:32 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @glendonyeo on 12/21/2023

CloudPanel version(s) affected

2.4.0

Description

image

All 5 headers appear duplicate in HTTP headers due to php request are proxy to http://127.0.0.1:8080

add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Permitted-Cross-Domain-Policies master-only;
add_header Referrer-Policy same-origin;

How to reproduce

Visit any website hosted using cloudpanel php, and check HTTP headers on chrome console

Possible Solution

No response

Additional Context

No response

*Originally created by @glendonyeo on 12/21/2023* ### CloudPanel version(s) affected 2.4.0 ### Description ![image](https://github.com/cloudpanel-io/cloudpanel-ce/assets/5694951/9e891065-469c-4196-ac67-a3db55ff099f) All 5 headers appear duplicate in HTTP headers due to php request are proxy to http://127.0.0.1:8080 add_header X-Frame-Options SAMEORIGIN; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Permitted-Cross-Domain-Policies master-only; add_header Referrer-Policy same-origin; ### How to reproduce Visit any website hosted using cloudpanel php, and check HTTP headers on chrome console ### Possible Solution _No response_ ### Additional Context _No response_
Sign in to join this conversation.