From a3e7fa4a7fd7bbf71d5540c3f82050f3f13204b3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 2 May 2017 11:39:11 +0200 Subject: Install script: fix and simplify nginx template --- install/nginx.conf.template | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'install/nginx.conf.template') diff --git a/install/nginx.conf.template b/install/nginx.conf.template index 3450671b9..15333393b 100644 --- a/install/nginx.conf.template +++ b/install/nginx.conf.template @@ -6,7 +6,7 @@ server { error_log /var/log/django/#APP_NAME#-error.log; client_max_body_size 20M; - location /static-#DATE#/ { # STATIC_URL + location /static/ { # STATIC_URL alias #INSTALL_PATH#/#APP_NAME#/static/; # STATIC_ROOT expires 30d; } @@ -16,16 +16,6 @@ server { expires 30d; } - location /tinymce/ { - alias /usr/share/tinymce/www/; - expires 30d; - } - - location /javascript/ { - alias /usr/share/javascript/; - expires 30d; - } - location / { include uwsgi_params; uwsgi_pass 127.0.0.1:#UWSGI_PORT#; -- cgit v1.2.3