front.conf

server {
    listen  80;
    listen  443 ssl;
    server_name  back.zxk175.com;

    ssl_certificate      ../../../cert/back.crt;
    ssl_certificate_key  ../../../cert/back.key;

    ssl_session_cache    shared:SSL:1m;
    ssl_session_timeout  5m;

    ssl_ciphers  HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers  on;

    location / {
        root  ../../web/back;
        index  index.html;
    }

    error_page  500 502 503 504  /50x.html;
    location = /50x.html {
        root  html;
    }
}

你可能感兴趣的:(front.conf)