blacklist.conf �.d V # IP black list deny 123.45.67.91; deny 123.45.67.92; ・・・ nginx.conf p�g V �L V server { include /etc/nginx/blacklist.conf; location ~* /wp-login\.php|/wp-admin/(^admin-ajax\.php) { allow 123.45.67.89; allow 123.45.67.90; deny all; # ここからはPHP設定など・・・ } # disable XML-RPC location = /xmlrpc.php { deny all; } }
記述が冗長になってしまうのですが以下です。 念のため自ホストからのアクセスを可能にしておきます。 server { listen 80; server_name {server_name}; root /var/www/vhosts/wordpress; location / { index index.php index.html index.htm; try_files $uri $uri/ /index.php?$args; } location /wp-content/plugins/akismet { location ~ /wp-content/plugins/akismet/(.+/)?(form|akismet)\.(css|js)$ { allow all; } location ~ /wp-content/plugins/akismet/(.+/)?(.+)\.(pn
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く