Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
The rewriteRule for nginx is as follows,
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
will it work like this? Sorry I am not really good at server config...
if (!-e $request_filename) {
rewrite ^/(.*)$ /js.php?q=$1 last;
}
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
Comments
Comment #1
sunSorry, I'm not familiar with nginx. Feel free to re-open this issue if you figured it out. Happy to add that to the README.txt.
Comment #2
mrded CreditAttribution: mrded commentedAdd following to your NGINX configuration:
Comment #3
mrded CreditAttribution: mrded commentedComment #4
markhalliwellReally no reason to re-open this with #2318527: Provide Nginx rewrites already open.