summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-06 12:21:49 +0000
committerJoe <bousset.rudy@gmail.com>2022-05-06 12:21:49 +0000
commit694c2ae4f4f000aaf839b5ea2b734adb1dd40fc6 (patch)
treed90e7e0c8fa791fc60d26223a59efe5f7dc88bec /usr/local
parentupdate (diff)
downloadjoe-conf-694c2ae4f4f000aaf839b5ea2b734adb1dd40fc6.tar.gz
joe-conf-694c2ae4f4f000aaf839b5ea2b734adb1dd40fc6.tar.bz2
joe-conf-694c2ae4f4f000aaf839b5ea2b734adb1dd40fc6.tar.xz
joe-conf-694c2ae4f4f000aaf839b5ea2b734adb1dd40fc6.tar.zst
joe-conf-694c2ae4f4f000aaf839b5ea2b734adb1dd40fc6.zip
udpate
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/etc/nginx/nginx.conf7
1 files changed, 7 insertions, 0 deletions
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;