Fix Typo.
@ -1,5 +1,5 @@
# NGINX CONFIGURATION FOR COMMON LOCATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
# DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
# Basic locations files
location = /favicon.ico {
access_log off;
# PHP NGINX CONFIGURATION
location / {
try_files $uri $uri/ /index.php?$args;
}
@ -1,6 +1,6 @@
# W3TC NGINX CONFIGURATION
set $cache_uri $request_uri;
# POST requests and URL with a query string should always go to php
if ($request_method = POST) {
# WordPress COMMON SETTINGS
# Limit access to avoid brute force attack
location = /wp-login.php {
limit_req zone=one burst=1 nodelay;
# WPFC NGINX CONFIGURATION
set $skip_cache 0;
# WPSC NGINX CONFIGURATION
# WPSUBDIRECTORY NGINX CONFIGURATION
if (!-e $request_filename) {
# Redirect wp-admin to wp-admin/
rewrite /wp-admin$ $scheme://$host$uri/ permanent;