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 e414d55 commit e1835a3Copy full SHA for e1835a3
webserver/templates/nginx.conf.template
@@ -67,9 +67,7 @@ server {
67
proxy_request_buffering off;
68
#
69
# Mitigate httpoxy attack
70
- proxy_set_header Proxy "";
71
-
72
- rewrite ^([^.]*[^/])$ $1/ permanent;
+ proxy_set_header Proxy "";
73
}
74
75
# deny access to .htaccess vb. files, if Apache's document root
@@ -86,6 +84,7 @@ server {
86
84
log_not_found off;
87
85
access_log off;
88
+ #
89
location = /robots.txt {
90
allow all;
91
@@ -110,7 +109,7 @@ server {
110
109
try_files $uri /index.php$is_args$args;
111
112
113
- location /wp-admin/ {
+ location /wp-admin {
114
try_files $uri /wp-admin/index.php$is_args$args;
115
116
0 commit comments