diff options
-rw-r--r-- | example_project/local_settings.py.sample | 2 | ||||
-rwxr-xr-x | install/ishtar-prepare-instance | 2 | ||||
-rw-r--r-- | install/nginx.conf.template | 12 |
3 files changed, 1 insertions, 15 deletions
diff --git a/example_project/local_settings.py.sample b/example_project/local_settings.py.sample index 4c07f7152..f49963c84 100644 --- a/example_project/local_settings.py.sample +++ b/example_project/local_settings.py.sample @@ -11,8 +11,6 @@ ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) -MANAGERS = ADMINS - DATABASES = { 'default': { 'NAME': 'ishtar', diff --git a/install/ishtar-prepare-instance b/install/ishtar-prepare-instance index 3b6f25e88..f0956b36b 100755 --- a/install/ishtar-prepare-instance +++ b/install/ishtar-prepare-instance @@ -245,8 +245,6 @@ EOF sed -s "s|#APP_NAME#|$INSTANCE|g;\ s|#UWSGI_PORT#|$UWSGI_PORT|g;\ - s|#DB_NAME#|$DB_NAME|g;\ - s|#DATE#|$DATE|g;\ s|#NGINX_PORT#|$NGINX_PORT|g;\ s|#INSTALL_PATH#|$INSTALL_PATH|g;\ s|#URL#|$URL|g;" \ 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#; |