Now our nginx supports the response of the pan-domain name, *.domain.com, and we have made the homepage static for the sub-sites under the pan-domain name:
For example: sc.domain.com
The static homepage file is sc_index.html
Can nginx be configured to implement a request for sc.domain.com/index.html
when the response is thrown sc_index.html
I just got this configuration recently, just add the following configuration:
rewrite