Ok, then I assume my LSCache is already working as expected (only first request get "hit" for x-litespeed-cache header). I will now start to play with the settings in order to find the optimal configuration for my site.
I have just one final question related to the definition of the storagePath...
Cache was indeed disabled under WebAdmin OLS Server Configuration > Modules ('enableCache' and 'enablePrivateCache' were both set to 0). Below my (now assumed correct) cache module parameters:
checkPrivateCache 1
checkPublicCache 1
maxCacheObjSize 10000000
maxStaleAge 200...
Hi @lsqtwrk ,
I had to come back here to report that, although the issue with server configuration has been overcome, LiteSpeed cache is still not working on the site.
I don't know if it is an issue related to the Wordpress plugin or still something on the server level. If you think this issue...
Hi @lsqtwrk ,
The log viewer from OLS admin dashboard doesn't show any errors. I checked also the raw access log files from cPanel (Apache server) but couldn't locate the 500 responses.
Anyway, this kind of troubleshooting shouldn't be needed in the first place. I've strictly followed the...
Hi @lsqtwrk ,
I would prefer to use this step (provide SSH credentials) as last-case solution.
I did some additional testing, and I think I am already close to what is the root cause of the issue.
Let me remind some specific settings that I used according to OLS documentation for setting up...
Hi @lsqtwrk ,
My previous configuration for the rewrite rules inside vhost was stated in another message above (#5) inside this thread (link).
I've edited the rewrite rules as per your last message (adding "E=Proxy-Host:domain.tld" to the rules), but the issue remains the same (redirect to...
Hi @lsqtwrk ,
Ok, I discovered where the .crt and .key files were located, and inserted the absolute paths on port 443 listener and also on virtua host > SSL tab.
I've executed again the same procedure. This time, the listener turned "green" (same status as the port 80 listener), and I could...
Hi @lsqtwrk ,
Thank you for your clarification, it wasn't clear for me (nor through OLS's documentation) that the certificate was strictly necessary on port 443.
But the SSL certificate choice is not trivial. Even though I can use expired/invalid certificate, it would be a bad idea to have...
Hi @lsqtwrk ,
I've run the test as you suggested (paused cloudflare on site first).
Below the response to command 'netstat -lnp | grep litespeed'
tcp 0 0 0.0.0.0:7080 0.0.0.0:* LISTEN 14665/openlitespeed
tcp 0 0 0.0.0.0:80...
Hi @Pong ,
In a first experimentation with OpenLiteSpeed, I would still prefer to test the site with Cloudflare -> OLS -> Apache. Since my knowledge is very limited, it seems to me that configuring OLS as reverse proxy is not much complicated (less things to go wrong due to misconfiguration)...
Hi @lsqtwrk ,
Thank you for your link, this was exactly the guide I needed! Now I understand that the listeners set the frontend ports.
The only question I still have is: why is it not needed to configure an SSL certificate for the proxy running on port 443? This will be the frontend that...
My current server configuration (for a Wordpress site) is Cloudflare + Apache. I want to include OpenLiteSpeed (configured as a reverse proxy) as additional cache optimization to the Apache server (Cloudflare -> OLS -> Apache).
I've already installed OpenLiteSpeed in my VPS server, but my...