server {
ssl on;
listen 182.148.93.25:443;
server_name blog.tag.gg;
ssl_certificate d:\ssl\blog.tag.gg.crt;
ssl_certificate_key d:\ssl\blog.tag.gg.key;
location / {
proxy_pass http://127.0.0.1:80;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header From-Https on;
}
}
server
{
listen 80;
server_name blog.tag.gg;
rewrite ^(.*) http://blog.tag.gg$1 permanent;
}
亲爱的:若该文章解决了您的问题,可否收藏+评论+分享呢?
文章评论 本文章有个评论