From ef69f01a6c92cefe08fc34c1518bdff72624903b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Aug 2019 11:23:40 +0200 Subject: Install script --- conf/nginx.conf.template | 6 +++--- conf/uwsgi.ini.template | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'conf') diff --git a/conf/nginx.conf.template b/conf/nginx.conf.template index 703699f..cafac58 100644 --- a/conf/nginx.conf.template +++ b/conf/nginx.conf.template @@ -1,7 +1,7 @@ server { listen 80; server_name #URL#; - root /srv/commonnet/; # install path + root /srv/comm-on-net/; # install path access_log /var/log/django/commonnet-access.log; error_log /var/log/django/commonnet-error.log; @@ -16,12 +16,12 @@ server { client_max_body_size 200M; location /static/ { # STATIC_URL - alias /srv/commonnet/collected_static/; # STATIC_ROOT + alias /srv/comm-on-net/collected_static/; # STATIC_ROOT expires 30d; } location /media/ { # MEDIA_URL - alias /srv/commonnet/media/; # MEDIA_ROOT + alias /srv/comm-on-net/media/; # MEDIA_ROOT expires 30d; } diff --git a/conf/uwsgi.ini.template b/conf/uwsgi.ini.template index 089c952..653dc70 100644 --- a/conf/uwsgi.ini.template +++ b/conf/uwsgi.ini.template @@ -2,7 +2,7 @@ # variables projectname = commonnet projectdomain = #URL# # ex: commonnet.myorganization.net -base = /srv/commonnet/ # install path +base = /srv/comm-on-net/ # install path # config plugins = python -- cgit v1.2.3