|
@ -63,7 +63,8 @@ location ~ /readme\.(txt|html)$ { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# Disallow PHP In Upload Folder |
|
|
# Disallow PHP In Upload Folder |
|
|
location /wp-content/uploads/{ |
|
|
location /wp-content/uploads/ { |
|
|
|
|
|
|
|
|
location ~ \.php$ { |
|
|
location ~ \.php$ { |
|
|
#Prevent Direct Access Of PHP Files From Web Browsers |
|
|
#Prevent Direct Access Of PHP Files From Web Browsers |
|
|
deny all; |
|
|
deny all; |
|
|