Recent content by Cold-Egg

  1. Cold-Egg

    Where to add Security Headers for all hosts?

    It supports the virtual host level only, see https://docs.openlitespeed.org/security/headers/ If you want to reduce the duplicate set up, you could consider the virtual host template or include conf feature(https://docs.openlitespeed.org/config/advanced/includes/).
  2. Cold-Egg

    Weird and not loading website on 1.8.3

    Not pretty sure as there's no similar report. If it's still happening or there's a reproduce method, please submit it to support@litespeedtech.com for further support.
  3. Cold-Egg

    OpenLitespeed reverse proxy to Local FastAPI App Fails

    For DirectAdmin, you might want to use their method. See https://forum.directadmin.com/threads/how-to-reverse-proxy-openlitespeed-on-directadmin-working-with-net-core-blazor.60218/ and https://docs.directadmin.com/webservices/openlitespeed/customizing-ols.html for more information.
  4. Cold-Egg

    Throttling / request rate limit for certain locations?

    According to Fail2Ban GitHub note, IPv6 support is implemented in version 0.10
  5. Cold-Egg

    Throttling / request rate limit for certain locations?

    Maybe something like fail2ban and CrawdSec may help. We added fail2ban to the ols1clk script a few days ago, and it's mainly to protect wp-login.php and xmlrpc.php from multiple POST requests. Feel free to adjust the fail2ban config to match your goal.
  6. Cold-Egg

    Possible dead lock [LSAPI application] - Help

    The default value is set to no limit. Please avoid changing this setting unless you're certain of its purpose. perClientConnLimit { staticReqPerSec 0 dynReqPerSec 0 outBandwidth 0 inBandwidth 0 softLimit 10000 hardLimit...
  7. Cold-Egg

    Possible dead lock [LSAPI application] - Help

    Those settings look fine. If this keeps happening, please submit the issue to support@litespeedtech.com for further assistance.
  8. Cold-Egg

    Implemented Feature Request: Auto-Reload .htaccess Changes Without Manual Restart

    Hi, This feature is unlikely to be added or merged, as the behavior is intentional by design. For details, please refer to the editions: https://www.litespeedtech.com/products/litespeed-web-server/editions
  9. Cold-Egg

    Install locally on Ubuntu for dev purposes

    Have you check this yet https://docs.openlitespeed.org/config/php/externalapp/#use-a-virtual-host-level-external-app
  10. Cold-Egg

    Install locally on Ubuntu for dev purposes

    You might want to move the virtual host config to the lsws or lsws/conf folder, and point the document root to the app folder. Let us know if it works.
  11. Cold-Egg

    PHP error: Using ${var} in strings is deprecated

    For the autoindex, it's being used when directory listing is enabled and no index file is present in a directory. Do you have autoindex enabled?
  12. Cold-Egg

    Implemented Feature Request: Auto-Reload .htaccess Changes Without Manual Restart

    Unfortunately, this is a limitation of OpenLiteSpeed. However, you can use this workaround: https://docs.openlitespeed.org/panel/directadmin/#using-the-cron
  13. Cold-Egg

    Why does one LSAPI CHILD take around 120MB of RAM?

    It might be controlled by the memory_limit setting in your php.ini file. Have you checked the phpinfo page to see what value is set for memory_limit?
  14. Cold-Egg

    CORS not working

    The value you input to the web server is not valid, I'm not sure how you made it. The expected format would be IPv4/IPv6 address(:port) or web socket. Second, the CORS header issue needs to be fixed from the origin server/site, which is Baidu instead of yours. Something doable is to create a...
  15. Cold-Egg

    LSPHP 8.4 not available for OpenLiteSpeed 1.7.19 on CentOS 7

    No problem. Also, you might want to start with PHP83/84 if possible, as php80 is end of life too.
Top