Hello,
I have created two sites in bench site1.example.com and site2.example.com these both sites are being served on two subdomains https://site1.example.com and https://site2.example.com successfully.
but there is a small issue.
site “site1.example.com” is also being served on “https://example.com” and I don’t want that.
I came to know that there is a block named “# setup maps” in “/etc/nginx/conf.d/frappe-bench.conf” which is as under.
map $host $site_name_fqvoemk {
example.com site1.example.com;
default $host;
}
when I replace the site1.example.com to site2.example.com, “site2.example.com” is being served on “https://example.com”
Any suggestions, hint or guidance will be appriciated