mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
.
This commit is contained in:
@@ -56,7 +56,7 @@ server {
|
||||
|
||||
{{settings}}
|
||||
|
||||
location ~/wp-admin/ {
|
||||
location ~/(wp-admin/|wp-login.php) {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
|
||||
Reference in New Issue
Block a user