Skip to content

Commit

Permalink
Merge pull request wptide#172 from wptide/bugfix/nginx
Browse files Browse the repository at this point in the history
Fix missing trailing slash in wp-admin
  • Loading branch information
valendesigns authored Dec 9, 2018
2 parents dd83578 + 79271e4 commit 51bd277
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/api/nginx-app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ location / {

location ~ ^/wp-admin {
try_files $uri $uri/index.php?$args;
}
}

rewrite /wp-admin$ $scheme://$host$uri/ permanent;

0 comments on commit 51bd277

Please sign in to comment.