404 nginx error Leave a Comment / nginx / By cloud host Change the line in the location block to: try_files $uri $uri/ /index.php?q=$uri&$args; and reload nginx sudo systemctl reload nginx All should be well 🙂