From 694c2ae4f4f000aaf839b5ea2b734adb1dd40fc6 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 6 May 2022 12:21:49 +0000 Subject: udpate --- usr/local/etc/nginx/nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'usr/local') diff --git a/usr/local/etc/nginx/nginx.conf b/usr/local/etc/nginx/nginx.conf index e3a4915..3c48000 100644 --- a/usr/local/etc/nginx/nginx.conf +++ b/usr/local/etc/nginx/nginx.conf @@ -37,6 +37,13 @@ http { location ~ /\.ht { deny all; } + location ~ \.cgi$ { + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $document_root/asm-example.cgi; + fastcgi_param PATH_INFO $uri; + fastcgi_param HTTP_HOST $server_name; + fastcgi_pass unix:/var/run/fcgiwrap/fcgiwrap.sock; + } error_page 403 /403.html; location = /403.html { root /usr/local/www/jozan/err; -- cgit v1.2.3