Recent content by dejanmilosevic

  1. dejanmilosevic

    Hwo to achieve same behavior as nginx try_files directive?

    How it is possible in OpenLiteSpeed to achieve: try_files /cache$uri /public$uri @node_app so it first tries to find static file in cache directory than in public directory and then if there are no files it fallbacks to proxy to node application upstream.
  2. dejanmilosevic

    How to achieve try_files in openlitespeed like in nginx?

    How can i achieve something like this in nginx? try_files /cache/$uri /$uri @app; where @app is fallback to proxy to nodejs application.