1. EagleDotNet

    NGINX reverse proxy header to openlitespeed

    how i can add NGINX reverse proxy header to openlitespeed ? location / { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header CF-Conncting-IP $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host...
  2. Rinart73

    How to make static context still execute document-level rewrites?

    I'm running Wordpress with WebP Express plugin and trying to serve WebP instead of JPEG and PNG for browsers that support it. It started working after I found a way to enable reading .htaccess in subfolders (since the rules are in the "/wp-content/uploads/" folder). Hovewer the problem is that...
  3. M

    Accept-Encoding is altered on proxy

    I have created a simple python script using sockets, I use openlitespeed to proxy to this http backend, I see openlitespeed is altering accept-encoding in requests headers, only if accept-encoding is equal to "br", the accept-encoding is "br", anything else is converted to "gzip", for example if...
  4. WoosungChoi

    Header is output twice.

    Virtual Host wordpress > Contex Header is output twice. You can check here : https://hubs.tk OpenLiteSpeed 1.6.13 lsphp74 ubuntu 20.04 How can I fix it?
  5. A

    mod_headers.c is not working

    Hi, I am trying to add the following code to the .htaccess but it is not working. I am using LScache plugin in Wordpress. <IfModule mod_headers.c> <FilesMatch "\.(html|htm)$"> Header set Cache-Control "max-age=600, must-revalidate" </FilesMatch> </IfModule>
  6. S

    CSP Headers aren't being sent

    I am trying to add some CSP headers via .htaccess, and they don't seem to be working. Header set X-Frame-Options "SAMEORIGIN" Header set X-Content-Type-Options "nosniff" Header set X-XSS-Protection "1; mode=block" Header set Strict-Transport-Security "max-age=631138519; includeSubDomains" when...