“403 Invalid signature” when I try to verify an email in Laravel

When I try to verify an email in Laravel I get the error:

403 Invalid signature

The problem is a misconfiguration in the nginx configuration file (the Server Blocks).

The bad configuration was

location / {
    try_files $uri $uri/ /index.php?q=$uri&$args;
}

The good configuration is

 location / {
    try_files $uri $uri/ /index.php?$query_string;
}

1 comment

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.