From e53ea9a05167ac9b93594bb1335cae1f2a0afe1f Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Sat, 28 Mar 2020 15:17:45 +0100 Subject: use tmpfs for file storage --- config/nginx-default.conf | 2 +- config/uwsgi.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/nginx-default.conf b/config/nginx-default.conf index fd3e2f1..52c2fe2 100644 --- a/config/nginx-default.conf +++ b/config/nginx-default.conf @@ -9,6 +9,6 @@ server { location / { try_files $uri @yourapplication; } location @yourapplication { include uwsgi_params; - uwsgi_pass unix:/var/www/mat2-web/mat2-web.sock; + uwsgi_pass unix:/tmp/uwsgi.sock; } } diff --git a/config/uwsgi.config b/config/uwsgi.config index 177ddaf..9b46181 100644 --- a/config/uwsgi.config +++ b/config/uwsgi.config @@ -13,7 +13,7 @@ gid = www-data harakiri = 30 die-on-term = true -socket = mat2-web.sock +socket = /tmp/uwsgi.sock chmod-socket = 774 plugins = python3 -- cgit v1.3