9 lines
138 B
Plaintext
9 lines
138 B
Plaintext
# REWRITE START
|
|
location ~ /inc/ {
|
|
return 404;
|
|
}
|
|
location ~* ^/(?![asset|api]) {
|
|
rewrite (\d+|\w+)$ /index.php?id=$1;
|
|
}
|
|
# REWRITE END
|