==== expansions: off - EOF needs to be quoted ====
'EOF' is quoted => the lines in the here-document are not expanded
<codenowiki>
cat >> /etc/nginx/conf.d/seafile.conf << EOF # 'EOF' is quoted => expansions: off
location / {
[...]
}
EOF</codenowiki>
<code style="white-space: nowrap">$host</code> will not be expanded