CloudPanel version(s) affected
v2.5.2
Description
in nginx, if you add headers for HSTS, it does not actually add HSTS headers.
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
Additionally, tags like the below to support PQC do not work.
ssl_conf_command Groups X25519MLKEM768;
How to reproduce
Add the above tags, the first one add_header does not actually add the header. the second one flags an error.
Possible Solution
No response
Additional Context
No response
CloudPanel version(s) affected
v2.5.2
Description
in nginx, if you add headers for HSTS, it does not actually add HSTS headers.
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
Additionally, tags like the below to support PQC do not work.
ssl_conf_command Groups X25519MLKEM768;
How to reproduce
Add the above tags, the first one add_header does not actually add the header. the second one flags an error.
Possible Solution
No response
Additional Context
No response