企業級NGINX的重定向rewrite

vim /usr/local/nginx/conf/nginx.confhtml

server {
    listen 80;
    server_name www.ftl.com;
    rewrite ^/(.*) http://www.ftl.com/$1 permanent;
}
相關文章
相關標籤/搜索