diff options
author | Devaev Maxim <[email protected]> | 2019-05-09 20:52:15 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-05-09 20:52:15 +0300 |
commit | def5346b4bb0572f3d35df23f988e79a925dfcd8 (patch) | |
tree | 40e69a45cacc3f4678df4a22c9020295f24bc8bf /configs/nginx | |
parent | a972e35f7af8ade0e827a30a7ff84404c0e1a2d4 (diff) |
using unix sockets
Diffstat (limited to 'configs/nginx')
-rw-r--r-- | configs/nginx/nginx.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configs/nginx/nginx.conf b/configs/nginx/nginx.conf index 444d5aab..7246f1e3 100644 --- a/configs/nginx/nginx.conf +++ b/configs/nginx/nginx.conf @@ -1,4 +1,4 @@ -user http; +user kvmd-nginx; worker_processes 4; # error_log /tmp/kvmd-nginx.error.log; @@ -35,11 +35,11 @@ http { uwsgi_temp_path /tmp/kvmd-nginx.uwsgi_temp; upstream kvmd { - server 127.0.0.1:8081 fail_timeout=0s max_fails=0; + server unix:/run/kvmd.sock fail_timeout=0s max_fails=0; } upstream ustreamer { - server 127.0.0.1:8082 fail_timeout=0s max_fails=0; + server unix:/run/ustreamer.sock fail_timeout=0s max_fails=0; } include /usr/share/kvmd/extras/*/nginx.ctx-http.conf; |