Browse Source

Merge pull request #527 from irazasyed/master

Fix Typo.
bugfixes
Gaurav Ashtikar 10 years ago
parent
commit
aee4388976
  1. 2
      ee/cli/templates/locations.mustache
  2. 2
      ee/cli/templates/php-hhvm.mustache
  3. 2
      ee/cli/templates/php.mustache
  4. 2
      ee/cli/templates/w3tc-hhvm.mustache
  5. 2
      ee/cli/templates/w3tc.mustache
  6. 2
      ee/cli/templates/wpcommon.mustache
  7. 2
      ee/cli/templates/wpfc-hhvm.mustache
  8. 2
      ee/cli/templates/wpfc.mustache
  9. 2
      ee/cli/templates/wpsc-hhvm.mustache
  10. 2
      ee/cli/templates/wpsc.mustache
  11. 2
      ee/cli/templates/wpsubdir.mustache

2
ee/cli/templates/locations.mustache

@ -1,5 +1,5 @@
# NGINX CONFIGURATION FOR COMMON LOCATION # 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 # Basic locations files
location = /favicon.ico { location = /favicon.ico {
access_log off; access_log off;

2
ee/cli/templates/php-hhvm.mustache

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

2
ee/cli/templates/php.mustache

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

2
ee/cli/templates/w3tc-hhvm.mustache

@ -1,6 +1,6 @@
# W3TC NGINX CONFIGURATION # W3TC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee) # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
set $cache_uri $request_uri; set $cache_uri $request_uri;
# POST requests and URL with a query string should always go to php # POST requests and URL with a query string should always go to php
if ($request_method = POST) { if ($request_method = POST) {

2
ee/cli/templates/w3tc.mustache

@ -1,6 +1,6 @@
# W3TC NGINX CONFIGURATION # W3TC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee) # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
set $cache_uri $request_uri; set $cache_uri $request_uri;
# POST requests and URL with a query string should always go to php # POST requests and URL with a query string should always go to php
if ($request_method = POST) { if ($request_method = POST) {

2
ee/cli/templates/wpcommon.mustache

@ -1,5 +1,5 @@
# WordPress COMMON SETTINGS # WordPress COMMON SETTINGS
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee) # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
# Limit access to avoid brute force attack # Limit access to avoid brute force attack
location = /wp-login.php { location = /wp-login.php {
limit_req zone=one burst=1 nodelay; limit_req zone=one burst=1 nodelay;

2
ee/cli/templates/wpfc-hhvm.mustache

@ -1,5 +1,5 @@
# WPFC NGINX CONFIGURATION # WPFC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee) # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
set $skip_cache 0; set $skip_cache 0;
# POST requests and URL with a query string should always go to php # POST requests and URL with a query string should always go to php
if ($request_method = POST) { if ($request_method = POST) {

2
ee/cli/templates/wpfc.mustache

@ -1,5 +1,5 @@
# WPFC NGINX CONFIGURATION # WPFC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee) # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
set $skip_cache 0; set $skip_cache 0;
# POST requests and URL with a query string should always go to php # POST requests and URL with a query string should always go to php
if ($request_method = POST) { if ($request_method = POST) {

2
ee/cli/templates/wpsc-hhvm.mustache

@ -1,5 +1,5 @@
# WPSC NGINX CONFIGURATION # WPSC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee) # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
set $cache_uri $request_uri; set $cache_uri $request_uri;
# POST requests and URL with a query string should always go to php # POST requests and URL with a query string should always go to php
if ($request_method = POST) { if ($request_method = POST) {

2
ee/cli/templates/wpsc.mustache

@ -1,5 +1,5 @@
# WPSC NGINX CONFIGURATION # WPSC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee) # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
set $cache_uri $request_uri; set $cache_uri $request_uri;
# POST requests and URL with a query string should always go to php # POST requests and URL with a query string should always go to php
if ($request_method = POST) { if ($request_method = POST) {

2
ee/cli/templates/wpsubdir.mustache

@ -1,5 +1,5 @@
# WPSUBDIRECTORY NGINX CONFIGURATION # WPSUBDIRECTORY NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee) # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
if (!-e $request_filename) { if (!-e $request_filename) {
# Redirect wp-admin to wp-admin/ # Redirect wp-admin to wp-admin/
rewrite /wp-admin$ $scheme://$host$uri/ permanent; rewrite /wp-admin$ $scheme://$host$uri/ permanent;

Loading…
Cancel
Save