Hi, Is it possible to compare $http_referer and $host variables with regexp like this? if ( $http_referer ~ $host ) { set $match 1; } I want to check if http_referer is equal to host in order to send pages from cache. I have one default_server config because I'm using wildcard as domain name so any domain name pointed to IP will show default page. I've tried with ~* ^http://$host butby NenadS - How to...