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;
}
}
back.conf
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- redis.conf (Windows 名为 redis.windows.conf))配置项说明如下: 1. Re...
- 解决办法 将这一步改一下 ./configure --prefix=/usr/local/nginx TO ./c...
- 在用bin/hadoop namenode -format命令时,虽然jdk路径配置好了,但出现这个错FATAL ...
- nginx: [emerg] directive "proxy_cache_bypass" is not term...