summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJan Friedli2020-03-29 15:02:47 +0200
committerJan Friedli2020-05-09 21:21:48 +0200
commite69d97e7ed58bb753cc89b0b8bf9a671b9dde296 (patch)
tree42b583510137ae2c82ecc86205e31f240c882e64 /config
parentacb6694f8215ed09f83099196aa2165ba2c9dbd8 (diff)
Revert "moved socket file and nginx pid to /tmpfs"
This reverts commit 4731cf86b1a1a380235948cc82b2ee5fbd35f11d.
Diffstat (limited to 'config')
-rw-r--r--config/nginx-default.conf2
-rw-r--r--config/nginx.conf3
-rw-r--r--config/uwsgi.config2
3 files changed, 4 insertions, 3 deletions
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 {
9 location / { try_files $uri @yourapplication; } 9 location / { try_files $uri @yourapplication; }
10 location @yourapplication { 10 location @yourapplication {
11 include uwsgi_params; 11 include uwsgi_params;
12 uwsgi_pass unix:/tmpfs/uwsgi.sock; 12 uwsgi_pass unix:/tmp/uwsgi.sock;
13 } 13 }
14} 14}
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 @@
1worker_processes auto; 1worker_processes auto;
2pid /tmpfs/nginx.pid; 2pid /tmp/nginx.pid;
3include /etc/nginx/modules-enabled/*.conf; 3include /etc/nginx/modules-enabled/*.conf;
4 4
5events { 5events {
@@ -13,6 +13,7 @@ http {
13 # Basic Settings 13 # Basic Settings
14 ## 14 ##
15 15
16 sendfile on;
16 tcp_nopush on; 17 tcp_nopush on;
17 tcp_nodelay on; 18 tcp_nodelay on;
18 keepalive_timeout 65; 19 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
13harakiri = 30 13harakiri = 30
14die-on-term = true 14die-on-term = true
15 15
16socket = /tmpfs/uwsgi.sock 16socket = /tmp/uwsgi.sock
17chmod-socket = 774 17chmod-socket = 774
18plugins = python3 18plugins = python3
19 19