Liu Song’s Projects


~/Projects/confbook

git clone https://code.lsong.org/confbook

Commit

Commit
40ff0091a9f75fbe6e005a150a3fffdf979ac5d1
Author
Lsong <[email protected]>
Date
2022-10-31 11:42:35 +0800 +0800
Diffstat
 dnsmasq/hosts/hosts-08.conf | 6 +++---
 nginx/sites-available/ha.conf | 4 +---

update


diff --git a/dnsmasq/hosts/hosts-08.conf b/dnsmasq/hosts/hosts-08.conf
index a4219ee77965cf0dc80b7b3967e654c91c89a341..26d4586de39131d0486b49b1b4de0a95a6c4d4a5 100644
--- a/dnsmasq/hosts/hosts-08.conf
+++ b/dnsmasq/hosts/hosts-08.conf
@@ -11,11 +11,11 @@ # This file is generate by ./gen-hosts.sh from /etc/dnsmasq/conf.d/dhcp.conf
 192.168.8.2 usw-24
 192.168.8.3 phicom-ap
 127.0.0.1 localhost
-127.0.1.1 gateway
+
 127.0.0.1 localhost
-
+fe00::0 ip6-localnet
 192.168.8.11 vmware-esxi vmware-esxi-01
-192.168.8.10 vmware-vcenter
+192.168.8.22 ipc-02
 192.168.8.100 file-server
 192.168.8.110 media-server
 192.168.8.101 app-01 app-server




diff --git a/nginx/sites-available/ha.conf b/nginx/sites-available/ha.conf
index 1216f64014a7cd364c46260d687f7333c0fb5dac..0b3a189c7d59ef03e8ff108c49e46e8783b27fde 100644
--- a/nginx/sites-available/ha.conf
+++ b/nginx/sites-available/ha.conf
@@ -4,10 +4,8 @@   server_name home.lsong.one;
 
   location ~ / {
     proxy_pass http://app-03:8123;
-    proxy_http_version 1.1;
-    proxy_set_header Upgrade $http_upgrade;
-    proxy_set_header Connection "upgrade";
 server{
+    proxy_http_version 1.1;
   }
   
   # basic