more_set_headers "Server:PHP";
more_set_headers "X-Powered-By:PHP";
upstream back {
server 127.0.0.1:8888;
}
server {
listen 80;
listen 443 ssl;
server_name api.zxk175.com;
ssl_certificate ../../../cert/api.crt;
ssl_certificate_key ../../../cert/api.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_set_header X-Request-URI $scheme://$host$uri;
include ../../../conf/common/proxy.conf;
proxy_pass http://back;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}