Search results

  1. Cold-Egg

    rand() and str_suffle() it's not working while enable the cache

    Maybe you can find a way to add a hook that will trigger the cache purge after processing rand() and str_suffle()? https://docs.litespeedtech.com/lscache/basics/#purging-the-cache
  2. Cold-Egg

    Getting error 404 in webadmin console

    Resolved It was due to the invalid vhost config file.
  3. Cold-Egg

    OpenLiteSpeed swapping directory keeps getting full

    I saw a ticket with a similar question, maybe it's from you? The solution is, Static file compression will share the /tmp/lshttpd/swap/ directory as normal LSWS swap files. You can reset gzipCacheDir to other locations such as /opt/lswsgzipcache/ etc via OLS web admin.
  4. Cold-Egg

    Reverse proxy with collabora online docker

    https://docs.litespeedtech.com/cloud/images/wordpress/#step-4-set-ssl-for-https Try to set Chained Certificate to Yes and restart the web server.
  5. Cold-Egg

    Reverse proxy with collabora online docker

    I am not familiar with Collabora and NextCloud. But Yes, of course, you can set up SSL on the webserver level.
  6. Cold-Egg

    rand() and str_suffle() it's not working while enable the cache

    I am not sure which kind of CMS you are using, the cached page will not process the PHP and MySQL again, that's how cache works. To avoid it, you can either disable cache for this page or make the code into JS code.
  7. Cold-Egg

    Reverse proxy with collabora online docker

    This is what I did, 1. Start the collabora container sudo docker run -t -d -p 1.2.3.4:9980:9980 -e 'domain=nextcloud.example.com' --restart always collabora/code 2. Goto Web Admin Server Configuration > External App to add a Web Server with NAME: collabora and Address: https://1.2.3.4:9980 3...
  8. Cold-Egg

    Load balancer

    No such information since not many OLS as a load balancer case before. It's not a load balancer, to reduce some traffic to the origin server, maybe you can consider using quic cloud CDN service(https://quic.cloud/)
  9. Cold-Egg

    X-LiteSpeed-Cache-Control

    Hi, Could you provide more information, like the URL or the code block? and share it on WordPress forum https://wordpress.org/support/plugin/litespeed-cache/ ? One of the plugin support will help you from there.
  10. Cold-Egg

    Figuring out where my database tables went after database error in an OLS-WP docker server.

    For mysql docker container, there's a volume set up by default to store data in the disk (/data/db), so docker-compose down, start, restart will not cause the data to disappear. volumes: - "./data/db:/var/lib/mysql:delegated"
  11. Cold-Egg

    Load balancer

    OLS can do a simple load balancer, similar post here https://forum.openlitespeed.org/threads/ols-as-loadbalancer.2573/ For the DB part, you might want to set up replication, an auto-sync process to sync other files(cache excluded).
  12. Cold-Egg

    Virtual host with stop icon and no way to start it

    I see, like step 1 of this https://docs.openlitespeed.org/configuration#create-virtual-host-directories, right? You might want to raise an issue( feature request ) to https://github.com/litespeedtech/openlitespeed
  13. Cold-Egg

    URL redirect in Ubuntu Cyberpanel

    You might want to use rewrite rules to redirect URLs. More https://community.cyberpanel.net/t/how-can-i-set-up-an-addon-domain-and-redirect-to-the-main-domain/14594
  14. Cold-Egg

    Is openlitespeed panel url safe?

    It will use a self-signed certificate, and force HTTPS are set by default.
  15. Cold-Egg

    How to redirect all subdomains to root domain?

    If you have a domain with no valid cert, then an SSL error is expected. How about applying a wildcard cert for this domain? https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-apply-wildcard-certificate
  16. Cold-Egg

    How to set php version for multiple websites

    PHP version per virtual host or do you mean PHP version per directory? Per virtual host, please check https://docs.openlitespeed.org/configuration#set-up-php-at-the-virtual-host-level Per directory, please check https://openlitespeed.org/kb/setup-per-directory-file-php/
  17. Cold-Egg

    Recaptcha Problem

    If you leave the site Key and secret key empty, does the Recaptcha is still not working? For further assistance, please raise a ticket to bug@litespeedtech.com with this post link appended.
  18. Cold-Egg

    Virtual host with stop icon and no way to start it

    A PR is always welcome. but for general virtual host dir, do you mean, e.g. "mkdir /usr/local/lsws/NEWExample/conf"? a PR maybe not be needed since everyone may want to create it in a different location or with a different name. Hence you will need to set proper permission for it. Unless I...
  19. Cold-Egg

    PHP OOM Errors with high memory limits

    Unfortunately, I have no idea, the OMP_NUM_THREADS seems not memory-related at all from my understanding.
Top