Nginx|Vue|Laravel 伪静态规则

in Linux其他 with 0 comment

Vue Spa 伪静态

location / {
        try_files $uri $uri/ /index.html;
}

Laravel 伪静态

location / {  
    try_files $uri $uri/ /index.php$is_args$query_string;  
}
Comments are closed.