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