nginx配置
- server {
- listen 80;
- server_name www.abc.com abc.com;
- return 301 https://abc.com$request_uri;
- }
- server {
- listen 443 ssl http2;
- server_name abc.com;
-
- location / {
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header Host $http_host;
- proxy_pass http://127.0.0.1:8080;
- }
- }
复制代码
CF SSL设置选FULL
以上有问题吗 现在520了,怎么搞 |