#PublicCMS 站点配置
server {
    listen       80;
    #listen 443 ssl;

    #ssl_certificate cert/xxx.pem;
    #ssl_certificate_key cert/xxx.key;

    ssi on;
    ssi_silent_errors on;
    location / {
        client_max_body_size 100m;
        proxy_redirect off;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto  $scheme;
        proxy_connect_timeout 5;
        proxy_send_timeout 30;
        proxy_read_timeout 10;
        proxy_pass http://cms;
    }

    location /include/ {
        alias /data/publiccms/web/site_1/include/;
    }
    location /webfile/ {
        alias   /data/publiccms/web/site_1/webfile/;
        index  index.html;
    }

}