Commit d8bfe647 authored by tywldx's avatar tywldx

fix

parent 3fd5b4d6
...@@ -32,7 +32,8 @@ function createNginxHttpAndSSLConf() ...@@ -32,7 +32,8 @@ function createNginxHttpAndSSLConf()
echo " proxy_set_header REMOTE_PORT \$remote_port; " >> $file_name echo " proxy_set_header REMOTE_PORT \$remote_port; " >> $file_name
echo " proxy_set_header Host \$host;" >> $file_name echo " proxy_set_header Host \$host;" >> $file_name
echo " proxy_set_header QT_TOKEN \$http_QT_TOKEN;" >> $file_name echo " proxy_set_header QT_TOKEN \$http_QT_TOKEN;" >> $file_name
echo " proxy_set_header Upgrade \$http_upgrade;" >> $file_name
echo " proxy_set_header Connection \"upgrade\";" >> $file_name
echo "" >> $file_name echo "" >> $file_name
echo " location / {" >> $file_name echo " location / {" >> $file_name
echo " proxy_pass http://$cus_ip:$http_port;" >> $file_name echo " proxy_pass http://$cus_ip:$http_port;" >> $file_name
...@@ -84,8 +85,6 @@ createK8sNginxConf(){ ...@@ -84,8 +85,6 @@ createK8sNginxConf(){
echo " proxy_set_header Host \$host; " >> $file_name echo " proxy_set_header Host \$host; " >> $file_name
echo " proxy_set_header REMOTE_ADDR \$remote_addr; " >> $file_name echo " proxy_set_header REMOTE_ADDR \$remote_addr; " >> $file_name
echo " proxy_set_header REMOTE_PORT \$remote_port; " >> $file_name echo " proxy_set_header REMOTE_PORT \$remote_port; " >> $file_name
echo " proxy_set_header Upgrade \$http_upgrade;" >> $file_name
echo " proxy_set_header Connection \"upgrade\";" >> $file_name
echo " " >> $file_name echo " " >> $file_name
echo " set \$ip \"192.168.6.12\"; " >> $file_name echo " set \$ip \"192.168.6.12\"; " >> $file_name
echo " location / { " >> $file_name echo " location / { " >> $file_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment