websoft9/apps/roles/role_nginx/files/rewrite/drupal.conf

5 lines
122 B
Plaintext
Raw Normal View History

2022-07-11 14:03:55 +08:00
if (!-e $request_filename) {
rewrite ^/update.php(.*)$ /update.php?q=$1 last;
rewrite ^/(.*)$ /index.php?q=$1 last;
}