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