I have nginx all set up for my needs… it’s a wildcard directory based hosting setup. My issue is that when a url is given without an extension or trailing slash, nginx redirects it to a host called “_” with the rest of the URL intact. What can I do to make nginx properly redirect the urls without trailing slashes?
Share
try this directive in your config of the wildcard vhost: