PageSpeed Setting are not valid #382

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

Originally created by @msycn on 6/22/2023

CloudPanel version(s) affected

2.3.1

Description

PageSpeed Setting are not valid, error message: nginx: [emerg] invalid condition "$http_user_agent" in /etc/nginx/sites-enabled/www.cccc.com.conf:59 nginx: configuration file /etc/nginx/nginx.conf test failed

How to reproduce

  1. Create the STATIC website
  2. go to site setting
  3. turn on the PageSpeed
  4. see error PageSpeed Setting are not valid

Possible Solution

No response

Additional Context

No response

*Originally created by @msycn on 6/22/2023* ### CloudPanel version(s) affected 2.3.1 ### Description PageSpeed Setting are not valid, error message: nginx: [emerg] invalid condition "$http_user_agent" in /etc/nginx/sites-enabled/www.cccc.com.conf:59 nginx: configuration file /etc/nginx/nginx.conf test failed ### How to reproduce 1. Create the STATIC website 2. go to site setting 3. turn on the PageSpeed 4. see error PageSpeed Setting are not valid ### Possible Solution _No response_ ### Additional Context _No response_
Sign in to join this conversation.