server {
        listen 80;
        server_name htz.gjqh.com.cn;
        return 301 https://$host$request_uri;
}
server {
        listen 443 ssl;
        server_name htz.gjqh.com.cn;
        ssl_certificate /etc/nginx/cert/gjqh.com.cn_bundle.crt;
        ssl_certificate_key /etc/nginx/cert/gjqh.com.cn.key;
        # ssl_ciphers HIGH:!aNULL:!MD5:!3DES;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
        location / {
                proxy_set_header Host $proxy_host;
                proxy_pass http://htz.gjqh.com.cn;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                client_max_body_size 0;
        }
}
server {
        listen 80;
        server_name admin-htz.gjqh.com.cn;
        return 301 https://$host$request_uri;
}
server {
        listen 443 ssl;
        server_name admin-htz.gjqh.com.cn;
        ssl_certificate /etc/nginx/cert/gjqh.com.cn_bundle.crt;
        ssl_certificate_key /etc/nginx/cert/gjqh.com.cn.key;
        # ssl_ciphers HIGH:!aNULL:!MD5:!3DES;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
        location / {
                proxy_set_header Host $proxy_host;
                proxy_pass http://admin-htz.gjqh.com.cn;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                client_max_body_size 0;
        }
}
server {
        listen 80;
        server_name dashboard-htz.gjqh.com.cn;
        return 301 https://$host$request_uri;
}
server {
        listen 443 ssl;
        server_name dashboard-htz.gjqh.com.cn;
        ssl_certificate /etc/nginx/cert/gjqh.com.cn_bundle.crt;
        ssl_certificate_key /etc/nginx/cert/gjqh.com.cn.key;
        # ssl_ciphers HIGH:!aNULL:!MD5:!3DES;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
        location / {
                proxy_set_header Host $proxy_host;
                proxy_pass http://dashboard-htz.gjqh.com.cn;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                client_max_body_size 0;
        }
}
server {
        listen 80;
        server_name api-htz.gjqh.com.cn;
        return 301 https://$host$request_uri;
}
server {
        listen 443 ssl;
        server_name api-htz.gjqh.com.cn;
        ssl_certificate /etc/nginx/cert/gjqh.com.cn_bundle.crt;
        ssl_certificate_key /etc/nginx/cert/gjqh.com.cn.key;
        # ssl_ciphers HIGH:!aNULL:!MD5:!3DES;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
        location / {
                proxy_set_header Host $proxy_host;
                proxy_pass http://api-htz.gjqh.com.cn;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }
}
server {
        listen 80;
        server_name store-htz.gjqh.com.cn;
        return 301 https://$host$request_uri;
}
server {
        listen 443 ssl;
        server_name store-htz.gjqh.com.cn;
        ssl_certificate /etc/nginx/cert/gjqh.com.cn_bundle.crt;
        ssl_certificate_key /etc/nginx/cert/gjqh.com.cn.key;
        # ssl_ciphers HIGH:!aNULL:!MD5:!3DES;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
        location / {
                proxy_set_header Host $proxy_host;
                proxy_pass http://$host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }
}