We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4e9c5 commit 97cf0dbCopy full SHA for 97cf0db
proxy/templates/proxy.conf.template
@@ -35,11 +35,9 @@ server {
35
#ssl_dhparam /etc/letsencrypt/ssl-dhparam.pem;
36
include /etc/letsencrypt/options-ssl-nginx.conf;
37
#
38
- client_max_body_size 8m;
39
- proxy_headers_hash_max_size 768;
40
- proxy_headers_hash_bucket_size 128;
41
- #
42
-
+
+ rewrite ^/wp-admin$ /wp-admin/ last;
43
location / {
44
proxy_pass http://docker_webserver;
45
proxy_set_header X-Real-IP $remote_addr;
@@ -64,6 +62,9 @@ server {
64
62
# Mitigate httpoxy attack
65
63
proxy_set_header Proxy "";
66
}
+ location /wp-admin/ {
+ try_files $uri /wp-admin/index.php$is_args$args;
67
+ }
68
69
# deny access to .htaccess vb. files, if Apache's document root
70
0 commit comments