Skip to content

Instantly share code, notes, and snippets.

@v-thomp4
Created July 17, 2021 04:48
Show Gist options
  • Save v-thomp4/750d6000bc34e9feb8a34261d4630d80 to your computer and use it in GitHub Desktop.
Save v-thomp4/750d6000bc34e9feb8a34261d4630d80 to your computer and use it in GitHub Desktop.
Remove trailing slashes in NGINX & WordPress
location /app {
try_files $uri $uri.html $uri/index.html $uri/index =404;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment