فهرست منبع

06k8s-install-centos.sh

lizw 2 سال پیش
والد
کامیت
2a7fba65a5
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      00base/06k8s-install-centos.sh

+ 3 - 3
00base/06k8s-install-centos.sh

@@ -2106,9 +2106,9 @@ server {
         proxy_http_version 1.1;
         proxy_set_header Connection \"\";
         proxy_next_upstream error;
-        proxy_set_header X-Real-IP \$remote_addr;
-        proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
-        proxy_set_header Host \$http_host;
+        proxy_set_header X-Real-IP \\\$remote_addr;
+        proxy_set_header X-Forwarded-For \\\$proxy_add_x_forwarded_for;
+        proxy_set_header Host \\\$http_host;
         proxy_set_header X-Nginx-Proxy true;
         proxy_pass http://k8s-ingress/;
     }