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