Avoid trying to optimise static serving of the calculator app, since the nginx configuration doesn't read symlinks anyway.

This commit is contained in:
Phil Elson 2020-11-05 23:57:18 +01:00
parent adb1f901ef
commit 0c4d47910c
2 changed files with 0 additions and 6 deletions

View file

@ -1 +0,0 @@
../../cara/apps/calculator/static

View file

@ -61,11 +61,6 @@ http {
}
rewrite ^/expert-app$ /voila-server/voila/render/cara.ipynb last;
# Give the static content of the calculator app a sensible name which is
# consistent with the static directory of the calculator webserver used
# for development.
rewrite ^/calculator/static/(.*)$ /calculator-static/$1 last;
# Before implementing the nginx router we could access /voila/render/cara.ipynb.
# Redirect this (and all other) URLs to the new scheme.
absolute_redirect off;