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...