diff --git a/app-config/nginx/nginx.conf b/app-config/nginx/nginx.conf index b2f8af0a..c58dd122 100644 --- a/app-config/nginx/nginx.conf +++ b/app-config/nginx/nginx.conf @@ -58,6 +58,7 @@ http { proxy_read_timeout 86400; } rewrite ^/expert-app$ /voila-server/voila/render/cara.ipynb last; + rewrite ^/(files/static)/(.*)$ /voila-server/voila/$1/$2 last; # Before implementing the nginx router we could access /voila/render/cara.ipynb. # Redirect this (and all other) URLs to the new scheme. diff --git a/app/cara.ipynb b/app/cara.ipynb index 01dd4d3c..dfb6a440 100644 --- a/app/cara.ipynb +++ b/app/cara.ipynb @@ -5,7 +5,7 @@ "metadata": {}, "source": [ "
\n", - "
\n", + "\n", "

\n", "Airborne Transmission of SARS-CoV-2\n", "

" diff --git a/app/static b/app/static new file mode 120000 index 00000000..df7752ac --- /dev/null +++ b/app/static @@ -0,0 +1 @@ +../cara/apps/static \ No newline at end of file