yunzer/public/nginx.htaccess
2025-05-20 10:34:02 +08:00

11 lines
213 B
Plaintext

location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
# 处理 storage 目录的请求
location /storage/ {
try_files $uri $uri/ /index.php?s=$uri&$args;
}