diff options
| author | Jan Friedli | 2020-03-29 15:02:47 +0200 |
|---|---|---|
| committer | Jan Friedli | 2020-05-09 21:21:48 +0200 |
| commit | e69d97e7ed58bb753cc89b0b8bf9a671b9dde296 (patch) | |
| tree | 42b583510137ae2c82ecc86205e31f240c882e64 /config | |
| parent | acb6694f8215ed09f83099196aa2165ba2c9dbd8 (diff) | |
Revert "moved socket file and nginx pid to /tmpfs"
This reverts commit 4731cf86b1a1a380235948cc82b2ee5fbd35f11d.
Diffstat (limited to 'config')
| -rw-r--r-- | config/nginx-default.conf | 2 | ||||
| -rw-r--r-- | config/nginx.conf | 3 | ||||
| -rw-r--r-- | config/uwsgi.config | 2 |
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 @@ | |||
| 1 | worker_processes auto; | 1 | worker_processes auto; |
| 2 | pid /tmpfs/nginx.pid; | 2 | pid /tmp/nginx.pid; |
| 3 | include /etc/nginx/modules-enabled/*.conf; | 3 | include /etc/nginx/modules-enabled/*.conf; |
| 4 | 4 | ||
| 5 | events { | 5 | events { |
| @@ -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 | |||
| 13 | harakiri = 30 | 13 | harakiri = 30 |
| 14 | die-on-term = true | 14 | die-on-term = true |
| 15 | 15 | ||
| 16 | socket = /tmpfs/uwsgi.sock | 16 | socket = /tmp/uwsgi.sock |
| 17 | chmod-socket = 774 | 17 | chmod-socket = 774 |
| 18 | plugins = python3 | 18 | plugins = python3 |
| 19 | 19 | ||
