summaryrefslogtreecommitdiff
path: root/install/nginx.conf.template
diff options
context:
space:
mode:
Diffstat (limited to 'install/nginx.conf.template')
-rw-r--r--install/nginx.conf.template12
1 files changed, 1 insertions, 11 deletions
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#;