From 0c4d47910ceb6ab77bc1e1dd16087d9d227d4a4d Mon Sep 17 00:00:00 2001 From: Phil Elson Date: Thu, 5 Nov 2020 23:57:18 +0100 Subject: [PATCH] Avoid trying to optimise static serving of the calculator app, since the nginx configuration doesn't read symlinks anyway. --- app-config/nginx/calculator-static | 1 - app-config/nginx/nginx.conf | 5 ----- 2 files changed, 6 deletions(-) delete mode 120000 app-config/nginx/calculator-static diff --git a/app-config/nginx/calculator-static b/app-config/nginx/calculator-static deleted file mode 120000 index 5605de12..00000000 --- a/app-config/nginx/calculator-static +++ /dev/null @@ -1 +0,0 @@ -../../cara/apps/calculator/static \ No newline at end of file diff --git a/app-config/nginx/nginx.conf b/app-config/nginx/nginx.conf index d799ebf3..0fc8970c 100644 --- a/app-config/nginx/nginx.conf +++ b/app-config/nginx/nginx.conf @@ -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;