summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2021-08-13 00:17:58 +0000
committerroot@culturestrings <root@culturestrings>2021-08-13 00:17:58 +0000
commite352c186aefe39b762a6b63b6b24b3b6e169a449 (patch)
tree23f9d48492afa6d43b2b458415f62978607b04fb
parent9f64fa59eae1be5467888f03d5a2dd46e102cc8d (diff)
downloadculturestrings-e352c186aefe39b762a6b63b6b24b3b6e169a449.tar.bz2
culturestrings-e352c186aefe39b762a6b63b6b24b3b6e169a449.tar.xz
nginx: vhost config-file generation: added basic xhtml-related logic.
-rwxr-xr-xpublic/fs/etc/nginx/vhosts.d/nginx-primary-zone-cfg.sh3
1 files changed, 2 insertions, 1 deletions
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