aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Server-configuration.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Server-configuration.md')
-rw-r--r--doc/Server-configuration.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/Server-configuration.md b/doc/Server-configuration.md
index c9ec4e13..c7b17c5a 100644
--- a/doc/Server-configuration.md
+++ b/doc/Server-configuration.md
@@ -219,11 +219,16 @@ location ~ ~$ {
219```nginx 219```nginx
220# /etc/nginx/php.conf 220# /etc/nginx/php.conf
221location ~ (index)\.php$ { 221location ~ (index)\.php$ {
222 # proxy PHP requests to PHP-FPM 222 # filter and proxy PHP requests to PHP-FPM
223 fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; 223 fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
224 fastcgi_index index.php; 224 fastcgi_index index.php;
225 include fastcgi.conf; 225 include fastcgi.conf;
226} 226}
227
228location ~ \.php$ {
229 # deny access to all other PHP scripts
230 deny all;
231}
227``` 232```
228 233
229```nginx 234```nginx