Redirection non-www to www problem

I don't think so. I don't see it in nginx docs and I get this when trying that

nginx[2066]: nginx: [emerg] invalid condition "$host" in /etc/nginx/sites-enabled/mike:62
nginx[2066]: nginx: configuration file /etc/nginx/nginx.conf test failed
3 Likes