Recent content by olsy

  1. olsy

    Axios GET gets error 500, but it's not logged

    Conclusion: I really need to start writing tests for my WP projects. The wp_remote_post call returned WP_Error, and I was only ready for response.
  2. olsy

    Axios GET gets error 500, but it's not logged

    Would LSWS cache plugin also cache a request from axios? Would it cache a 500 response?
  3. olsy

    Axios GET gets error 500, but it's not logged

    I thought I had it when I switched the checked URL to www, it stopped receiving the 500 for some time, but now after 20 minutes it started returning 500 as well. Could this all be part of DDOS defense? I'm pinging the same 5 URLs on the checked site with interval of 10 seconds. But that wouldn't...
  4. olsy

    Axios GET gets error 500, but it's not logged

    I only have OLS web server (no proxy) on that web site. It seems that wget from the uptime checker's container is also getting 500, but I still can't find the error logged.
  5. olsy

    Axios GET gets error 500, but it's not logged

    I built a custom uptime checker for a website using node and axios and I struggle to figure out why one URL returns 500, while it opens in browser just fine. I also can not find error 500 in the OLS logs.
  6. olsy

    Lost vhost directory after each docker-compose

    I just realized that $VH_ROOT can point outside lsws dir, so I placed it at /var/www/vhosts/$VH_NAME/. Works for now, and it's backed by a Docker volume.
  7. olsy

    Lost vhost directory after each docker-compose

    I thought of that too, but I'm not sure if there are some things that need to be updated when a new OLS version ships.
  8. olsy

    Lost vhost directory after each docker-compose

    I have a basic OLS docker-compose setup, which upon docker-compose up -d loses the admin password and all /usr/local/lsws/* vhost directories I created manually for an external app on the same docker network to which OLS acts as a proxy. What are my options for preserving these folders, to not...
  9. olsy

    Virtual host with stop icon and no way to start it

    I have (if I recall correctly) set the non-existent path inside the "Virtual Host Root" box, but it didn't offer to create the directory like it did for "Config File" (and some other non-existent paths I entered in Web Admin during vhost creation).
  10. olsy

    Virtual host with stop icon and no way to start it

    Thank you very much! The "only" thing missing was the actual vhost directory under /usr/local/lsws, but given that I haven't seen a mention of that in the logs, it wouldn't hurt the web admin was a little more verbose around the vhost instantiation area (or perhaps even create the folders...
  11. olsy

    Virtual host with stop icon and no way to start it

    Hi, I need some help to get this reverse proxy vhost up and running in front of Elastic Search running in another Docker container. I'm also using WSL2, but that shouldn't matter much, as I've made similar setup work with other servers. I have bound the already present HTTP(80) listener to...
Top