Staticization - is this configuration possible with nginx?
世界只因有你
世界只因有你 2017-05-16 17:26:17
0
2
630

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

世界只因有你
世界只因有你

reply all(2)
大家讲道理

I just got this configuration recently, just add the following configuration:

location =/ {
rewrite (.*) /static_index.html last;
}

世界只因有你

rewrite

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template