rename /var/www/planetstack to /var/www/xos
diff --git a/planetstack/nginx/planetstack.conf b/planetstack/nginx/planetstack.conf
index 9e36360..7910d84 100644
--- a/planetstack/nginx/planetstack.conf
+++ b/planetstack/nginx/planetstack.conf
@@ -1,6 +1,6 @@
upstream backend {
# least_conn;
- server unix:/var/run/uwsgi/planetstack.sock;
+ server unix:/var/run/uwsgi/xos.sock;
server 127.0.0.1:9001;
}
@@ -10,7 +10,7 @@
server_name 128.112.139.48;
location /static/ {
- alias /opt/planetstack/core/static/;
+ alias /opt/xos/core/static/;
expires 30d;
access_log off;
}
diff --git a/planetstack/uwsgi/planetstack.ini b/planetstack/uwsgi/planetstack.ini
index 625dafe..9377201 100644
--- a/planetstack/uwsgi/planetstack.ini
+++ b/planetstack/uwsgi/planetstack.ini
@@ -1,7 +1,7 @@
[uwsgi]
chdir = /opt/xos
-module = planetstack.wsgi:application
-env = DJANGO_SETTINGS_MODULE=planetstack.settings
+module = xos.wsgi:application
+env = DJANGO_SETTINGS_MODULE=xos.settings
socket = /var/run/uwsgi/planetstack.sock
socket = 127.0.0.1:9001
http = 128.112.139.48:9002
@@ -12,7 +12,7 @@
uid = uwsgi
gid = webserver
harakiri = 20
-daemonize=/var/log/uwsgi/planetstack.log
-static-map = /static=/var/www/planetstack/static
+daemonize=/var/log/uwsgi/xos.log
+static-map = /static=/var/www/xos/static
pidfile = /var/run/uwsgi/uwsgi.pid
-
+buffer-size = 8192