diff --git a/conf/nginx.conf b/conf/nginx.conf index 1989240..74fc6a8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,10 +4,10 @@ location __PATH__/ { # Path to source alias __INSTALL_DIR__/www/; - try_files $uri /index.html; + try_files $uri __PATH__/index.html; - location ~ ^.*/olm.wasm$ { - try_files $uri /olm.wasm; + location ~ ^__PATH__/.*/olm.wasm$ { + try_files $uri __PATH__/olm.wasm; } # From upstream, FIXME: not needed?