mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-25 04:01:25 +08:00
@@ -1,5 +1,3 @@
|
||||
try_files $uri =404;
|
||||
|
||||
# default fastcgi_params
|
||||
include fastcgi_params;
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
# WordPress: allow TinyMCE
|
||||
location = /wp-includes/js/tinymce/wp-tinymce.php {
|
||||
try_files $uri =404;
|
||||
include nginxconfig.io/php_fastcgi.conf;
|
||||
}
|
||||
|
||||
@@ -31,5 +32,6 @@ location ~* ^/(?:xmlrpc\.php|wp-links-opml\.php|wp-config\.php|wp-config-sample\
|
||||
# WordPress: throttle wp-login.php
|
||||
location = /wp-login.php {
|
||||
limit_req zone=login burst=2 nodelay;
|
||||
try_files $uri =404;
|
||||
include nginxconfig.io/php_fastcgi.conf;
|
||||
}</span>
|
||||
|
Reference in New Issue
Block a user