Browse Source

Change Nginx Conf Files

old-stable
Mitesh Shah 12 years ago
parent
commit
0744e54606
  1. 2
      etc/nginx/common/locations.conf
  2. 2
      etc/nginx/conf.d/blockips.conf
  3. 2
      etc/nginx/conf.d/upstream.conf
  4. 2
      usr/share/easyengine/nginx/html/basic.conf
  5. 2
      usr/share/easyengine/nginx/wpsingle/basic.conf
  6. 2
      usr/share/easyengine/nginx/wpsingle/w3tc.conf

2
etc/nginx/common/locations.conf

@ -68,4 +68,4 @@ location /wp-content/uploads/{
#Prevent Direct Access Of PHP Files From Web Browsers
deny all;
}
}
}

2
etc/nginx/conf.d/blockips.conf

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

2
etc/nginx/conf.d/upstream.conf

@ -2,4 +2,4 @@
upstream php {
# server unix:/run/php5-fpm.sock;
server 127.0.0.1:9000;
}
}

2
usr/share/easyengine/nginx/html/basic.conf

@ -14,4 +14,4 @@ server {
include /etc/nginx/common/locations.conf;
}
}

2
usr/share/easyengine/nginx/wpsingle/basic.conf

@ -19,4 +19,4 @@ server {
include /etc/nginx/common/locations.conf;
}
}

2
usr/share/easyengine/nginx/wpsingle/w3tc.conf

@ -42,4 +42,4 @@ server {
include /etc/nginx/common/locations.conf;
}
}

Loading…
Cancel
Save