http -> https learning.flask.com
if ($host = 'learning.flask.com'){
rewrite ^/(.*)$ https://learning.flask.com/$1 permanent;
}
域名指向404页面
find ./ -type f|grep conf$|xargs grep 'return 404'
if ($host = 'chinail.flask.cn'){
return 404;
}
标签:learning,flask,host,nginx01,404,https,com
From: https://www.cnblogs.com/wl30564/p/16839353.html