Commit f89bf0b6 authored by tywldx's avatar tywldx

f

parent 63b7a6bd
......@@ -28,6 +28,8 @@ function createNginxHttpAndSSLConf()
echo " listen 80;" >> $file_name
echo " server_name $cus_domain.q-gp.com;" >> $file_name
echo " proxy_set_header Host \$host;" >> $file_name
echo " proxy_set_header QT_TOKEN \$http_QT_TOKEN;" >> $file_name
echo "" >> $file_name
echo " location / {" >> $file_name
echo " proxy_pass http://$cus_ip:$http_port;" >> $file_name
......@@ -38,6 +40,7 @@ function createNginxHttpAndSSLConf()
echo " listen 443 ssl;" >> $file_name
echo " server_name $cus_domain.q-gp.com;" >> $file_name
echo "" >> $file_name
echo " proxy_set_header QT_TOKEN \$http_QT_TOKEN;" >> $file_name
echo " ssl_certificate /home/q-gp/ssl/certificate.crt;" >> $file_name
echo " ssl_certificate_key /home/q-gp/ssl/private.key;" >> $file_name
echo "" >> $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