|
@@ -43,33 +43,6 @@ server {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-# HTTPS server
|
|
|
|
|
-server {
|
|
|
|
|
- listen 443 ssl;
|
|
|
|
|
- server_name rapi.hiwavo.com;
|
|
|
|
|
- charset utf-8;
|
|
|
|
|
- #ssl on;
|
|
|
|
|
- ssl_certificate /opt/git_project/r_api/go/gopath/src/fohow.com/static/tapi/4048551_tfohowapi.hiwavo.com.pem;
|
|
|
|
|
- ssl_certificate_key /opt/git_project/r_api/go/gopath/src/fohow.com/static/tapi/4048551_tfohowapi.hiwavo.com.key;
|
|
|
|
|
-
|
|
|
|
|
- ssl_session_cache shared:SSL:1m;
|
|
|
|
|
- ssl_session_timeout 5m;
|
|
|
|
|
-
|
|
|
|
|
- ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
|
|
|
|
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
|
|
|
- ssl_prefer_server_ciphers on;
|
|
|
|
|
-
|
|
|
|
|
- location / {
|
|
|
|
|
- proxy_next_upstream off;
|
|
|
|
|
- proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
|
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
|
- proxy_set_header Host $host;
|
|
|
|
|
- proxy_http_version 1.1;
|
|
|
|
|
- proxy_set_header Connection "";
|
|
|
|
|
- proxy_pass http://rapi.hiwavo.com:8079;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|