From 19232e90de1fd6b73cbdb0b90ab95a7ed8970852 Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Thu, 26 Dec 2019 00:50:10 +0700 Subject: [PATCH] Fix custom error pages. --- lib/lemper-create.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/lemper-create.sh b/lib/lemper-create.sh index b1da2ddc..fcb0e18d 100755 --- a/lib/lemper-create.sh +++ b/lib/lemper-create.sh @@ -379,6 +379,9 @@ server { ## Uncomment to enable error page directives configuration. include /etc/nginx/includes/error_pages.conf; + + ## Uncomment to enable support cgi-bin scripts using fcgiwrap (like cgi-bin in Apache). + #include /etc/nginx/includes/fcgiwrap.conf; } _EOF_ } @@ -482,6 +485,9 @@ server { ## Uncomment to enable error page directives configuration. include /etc/nginx/includes/error_pages.conf; + + ## Uncomment to enable support cgi-bin scripts using fcgiwrap (like cgi-bin in Apache). + #include /etc/nginx/includes/fcgiwrap.conf; } _EOF_ } @@ -588,6 +594,9 @@ server { ## Uncomment to enable error page directives configuration. include /etc/nginx/includes/error_pages.conf; + + ## Uncomment to enable support cgi-bin scripts using fcgiwrap (like cgi-bin in Apache). + #include /etc/nginx/includes/fcgiwrap.conf; } _EOF_ }