Skip to content

Commit

Permalink
Docker: Add nginx rule for xmlrpc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
iandunn committed Jun 21, 2023
1 parent c6b8e69 commit afe21de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .docker/config/nginx.conf
Expand Up @@ -52,6 +52,7 @@ server {
if ( $host = "events.wordpress.test" ) {
rewrite "/[\w-]+/\d{4}/[\w-]+/wp-(admin|content|includes)(.*)" /wp-$1$2 last;
rewrite "/[\w-]+/\d{4}/[\w-]+/wp-(.*).php(.*)" /wp-$1.php$2 last;
rewrite "/[\w-]+/\d{4}/[\w-]+/xmlrpc\.php" /xmlrpc.php last;
}

location ~* /wp-content/.*\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|ttf)$ {
Expand Down

0 comments on commit afe21de

Please sign in to comment.