Browse Source

Minore update

old-stable
Mitesh Shah 10 years ago
parent
commit
4bdd00c373
  1. 0
      bin/update
  2. 4
      config/nginx/common/locations.conf
  3. 3
      config/nginx/common/php.conf
  4. 3
      config/nginx/common/w3tc.conf
  5. 5
      config/nginx/common/wpcommon.conf
  6. 3
      config/nginx/common/wpfc.conf
  7. 3
      config/nginx/common/wpsc.conf
  8. 3
      config/nginx/common/wpsubdir.conf
  9. 2
      config/nginx/conf.d/blockips.conf
  10. 2
      config/nginx/conf.d/fastcgi.conf

0
bin/eeupdate → bin/update

4
config/nginx/common/locations.conf

@ -1,5 +1,5 @@
# DO NOT MODIFIED ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
# NGINX CONFIGURATION FOR COMMON LOCATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
# Basic locations files
location = /favicon.ico {

3
config/nginx/common/php.conf

@ -1,4 +1,5 @@
# Common PHP NGINX CONFIGURATION
# PHP NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
location / {
try_files $uri $uri/ /index.php?$args;

3
config/nginx/common/w3tc.conf

@ -1,4 +1,5 @@
# Common W3TC NGINX CONFIGURATION
# W3TC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
set $cache_uri $request_uri;

5
config/nginx/common/wpcommon.conf

@ -1,6 +1,5 @@
# DO NOT MODIFIED ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
# WordPress common settings
# WordPress COMMON SETTINGS
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
# Limit access to avoid brute force attack
location = /wp-login.php {

3
config/nginx/common/wpfc.conf

@ -1,4 +1,5 @@
# Common WPFC NGINX CONFIGURATION
# WPFC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
set $skip_cache 0;

3
config/nginx/common/wpsc.conf

@ -1,4 +1,5 @@
# Common WPSC NGINX CONFIGURATION
# WPSC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
set $cache_uri $request_uri;

3
config/nginx/common/wpsubdir.conf

@ -1,4 +1,5 @@
# Common WPSUBDIRECTORY NGINX CONFIGURATION
# WPSUBDIRECTORY NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
if (!-e $request_filename) {

2
config/nginx/conf.d/blockips.conf

@ -1,2 +1,2 @@
# Block IP Address
#deny 1.1.1.1;
# deny 1.1.1.1;

2
config/nginx/conf.d/fastcgi.conf

@ -1,4 +1,4 @@
# Fastcgi cache settings
# FastCGI cache settings
fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:50m inactive=60m;
fastcgi_cache_key "$scheme$request_method$host$request_uri";

Loading…
Cancel
Save