diff options
author | root@culturestrings <root@culturestrings> | 2021-08-13 00:17:58 +0000 |
---|---|---|
committer | root@culturestrings <root@culturestrings> | 2021-08-13 00:17:58 +0000 |
commit | e352c186aefe39b762a6b63b6b24b3b6e169a449 (patch) | |
tree | 23f9d48492afa6d43b2b458415f62978607b04fb /public/fs/etc/nginx | |
parent | 9f64fa59eae1be5467888f03d5a2dd46e102cc8d (diff) | |
download | culturestrings-e352c186aefe39b762a6b63b6b24b3b6e169a449.tar.bz2 culturestrings-e352c186aefe39b762a6b63b6b24b3b6e169a449.tar.xz |
nginx: vhost config-file generation: added basic xhtml-related logic.
Diffstat (limited to 'public/fs/etc/nginx')
-rwxr-xr-x | public/fs/etc/nginx/vhosts.d/nginx-primary-zone-cfg.sh | 3 |
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 |