From e69d97e7ed58bb753cc89b0b8bf9a671b9dde296 Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Sun, 29 Mar 2020 15:02:47 +0200 Subject: Revert "moved socket file and nginx pid to /tmpfs" This reverts commit 4731cf86b1a1a380235948cc82b2ee5fbd35f11d. --- config/nginx-default.conf | 2 +- config/nginx.conf | 3 ++- config/uwsgi.config | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/nginx-default.conf b/config/nginx-default.conf index 5abfe22..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:/tmpfs/uwsgi.sock; + uwsgi_pass unix:/tmp/uwsgi.sock; } } diff --git a/config/nginx.conf b/config/nginx.conf index 385f28f..bd4770b 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -1,5 +1,5 @@ worker_processes auto; -pid /tmpfs/nginx.pid; +pid /tmp/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { @@ -13,6 +13,7 @@ http { # Basic Settings ## + sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; diff --git a/config/uwsgi.config b/config/uwsgi.config index 93441ed..56e0508 100644 --- a/config/uwsgi.config +++ b/config/uwsgi.config @@ -13,7 +13,7 @@ gid = 101 harakiri = 30 die-on-term = true -socket = /tmpfs/uwsgi.sock +socket = /tmp/uwsgi.sock chmod-socket = 774 plugins = python3 -- cgit v1.3