Merge branch 'fix/nginx-app' into 'master'

Avoid trying to optimise static serving of the calculator app

See merge request cara/cara!31
This commit is contained in:
Philip James Elson 2020-11-05 23:01:59 +00:00
commit 584a944452
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;