From b8f1e42ee59cc932f8dc3e4600a69d482c845046 Mon Sep 17 00:00:00 2001 From: jorshbag Date: Mon, 31 Oct 2016 08:29:54 -0400 Subject: [PATCH] Updated Nginx Configuration (asciidoc) --- Nginx-Configuration.asciidoc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Nginx-Configuration.asciidoc b/Nginx-Configuration.asciidoc index 3952e35..1e661c0 100644 --- a/Nginx-Configuration.asciidoc +++ b/Nginx-Configuration.asciidoc @@ -14,18 +14,18 @@ server { server_name _; autoindex off; location / { - expires max; - return 204 'pixel'; + expires max; + return 204 'pixel'; } - location /admin{ - root /var/www/html; - index index.php; - auth_basic "Restricted"; #For Basic Auth - auth_basic_user_file /etc/nginx/.htpasswd; #For Basic Auth + location /admin { + root /var/www/html; + index index.php; + auth_basic "Restricted"; #For Basic Auth + auth_basic_user_file /etc/nginx/.htpasswd; #For Basic Auth } location ~ \.php$ { - include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php5-fpm.sock; + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/var/run/php5-fpm.sock; } } ```