diff options
author | Devaev Maxim <[email protected]> | 2018-10-28 07:09:00 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-10-28 07:09:00 +0300 |
commit | c65c710962bbcc5d75f5df520efa8d60215eb99a (patch) | |
tree | 29d2da3d96099d54d6006ebc009104864ba7a42d /configs | |
parent | ab342111d0c88e13e0d0d4a79c1e14150a7d4ef3 (diff) |
using 127.0.0.1 instead of localhost
Diffstat (limited to 'configs')
-rw-r--r-- | configs/kvmd/v1-hdmi.yaml | 4 | ||||
-rw-r--r-- | configs/kvmd/v1-vga.yaml | 4 | ||||
-rw-r--r-- | configs/nginx/nginx.conf | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/configs/kvmd/v1-hdmi.yaml b/configs/kvmd/v1-hdmi.yaml index 2ca573e1..1f31f4ef 100644 --- a/configs/kvmd/v1-hdmi.yaml +++ b/configs/kvmd/v1-hdmi.yaml @@ -1,6 +1,6 @@ kvmd: server: - host: localhost + host: 127.0.0.1 port: 8081 heartbeat: 3.0 @@ -59,7 +59,7 @@ kvmd: - "--encoder=omx" - "--quality={quality}" - "--dv-timings" - - "--host=localhost" + - "--host=127.0.0.1" - "--port=8082" - "--drop-same-frames=30" diff --git a/configs/kvmd/v1-vga.yaml b/configs/kvmd/v1-vga.yaml index 48b8e511..055c8363 100644 --- a/configs/kvmd/v1-vga.yaml +++ b/configs/kvmd/v1-vga.yaml @@ -1,6 +1,6 @@ kvmd: server: - host: localhost + host: 127.0.0.1 port: 8081 heartbeat: 3.0 @@ -63,7 +63,7 @@ kvmd: - "--height=576" - "--fake-width=800" - "--fake-height=600" - - "--host=localhost" + - "--host=127.0.0.1" - "--port=8082" logging: diff --git a/configs/nginx/nginx.conf b/configs/nginx/nginx.conf index e5fd03c4..f831106e 100644 --- a/configs/nginx/nginx.conf +++ b/configs/nginx/nginx.conf @@ -31,11 +31,11 @@ http { uwsgi_temp_path /tmp/nginx.uwsgi_temp; upstream kvmd { - server localhost:8081 fail_timeout=0s max_fails=0; + server 127.0.0.1:8081 fail_timeout=0s max_fails=0; } upstream ustreamer { - server localhost:8082 fail_timeout=0s max_fails=0; + server 127.0.0.1:8082 fail_timeout=0s max_fails=0; } #PROD server { |