首页 > 系统相关 >nginx01

nginx01

时间:2022-10-29 18:34:50浏览次数:56  
标签:learning flask host nginx01 404 https com

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

相关文章