From e352c186aefe39b762a6b63b6b24b3b6e169a449 Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Fri, 13 Aug 2021 00:17:58 +0000 Subject: nginx: vhost config-file generation: added basic xhtml-related logic. --- public/fs/etc/nginx/vhosts.d/nginx-primary-zone-cfg.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/fs/etc') diff --git a/public/fs/etc/nginx/vhosts.d/nginx-primary-zone-cfg.sh b/public/fs/etc/nginx/vhosts.d/nginx-primary-zone-cfg.sh index 986ae07..d95a6ab 100755 --- a/public/fs/etc/nginx/vhosts.d/nginx-primary-zone-cfg.sh +++ b/public/fs/etc/nginx/vhosts.d/nginx-primary-zone-cfg.sh @@ -40,8 +40,9 @@ done cat << _EOF location / { root /srv/www/htdocs/\$host; - index index.html index.htm; + index index.xhtml index.html index.htm; ssi on; + ssi_types application/xhtml+xml; } _EOF -- cgit v1.2.3