Skip to content

Commit 57990ae

Browse files
committed
Update proxy.conf.template
1 parent 97cf0db commit 57990ae

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

proxy/templates/proxy.conf.template

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ server {
6060
proxy_request_buffering off;
6161
#
6262
# Mitigate httpoxy attack
63-
proxy_set_header Proxy "";
64-
}
65-
location /wp-admin/ {
66-
try_files $uri /wp-admin/index.php$is_args$args;
63+
proxy_set_header Proxy "";
64+
65+
rewrite ^([^.]*[^/])$ $1/ permanent;
6766
}
6867
#
6968
# deny access to .htaccess vb. files, if Apache's document root

0 commit comments

Comments
 (0)