linux/conf/nginx/inc/restrict-wp-access
Adrian c58105e816 Update Nginx config
* Make only Let's Encrypt path available on port 80
* Protect WordPress admin URLs
* Seperate logs for hosts
* Update example PHP config
* Update README
2016-03-17 01:52:10 +01:00

9 lines
179 B
Text

location /wp-admin {
include inc/allow-local;
error_page 403 $scheme://$host/404;
}
location ~ /wp-login.php {
include inc/allow-local;
error_page 403 $scheme://$host/404;
}