From 694c2ae4f4f000aaf839b5ea2b734adb1dd40fc6 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 6 May 2022 12:21:49 +0000 Subject: udpate --- etc/rc.conf | 4 ++++ root/.cshrc | 2 +- usr/local/etc/nginx/nginx.conf | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/etc/rc.conf b/etc/rc.conf index 08ab091..080c83d 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -23,3 +23,7 @@ obspamd_enable="NO" obspamd_flags="-v" obspamlogd_enable="NO" dovecot_enable="NO" +sendmail_enable="NONE" +sendmail_submit_enable="NO" +sendmail_outbound_enable="NO" +sendmail_msp_queue_enable="NO" diff --git a/root/.cshrc b/root/.cshrc index f4436db..76c25b7 100644 --- a/root/.cshrc +++ b/root/.cshrc @@ -16,7 +16,7 @@ alias tree tree -C alias c clear alias vim nvim alias diff colordiff -c -alias confgit git --git-dir=/usr/local/git/jozan/jozanofastora-conf.git --work-tree=/ +alias confgit git --git-dir=/usr/local/git/jozan/joe-conf.git --work-tree=/ # A righteous umask umask 22 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