Using nginx, I want to preserve the url, but actually load the same page no matter what. I will use the url with History.getState()
to route the requests in my javascript app. It seems like it should be a simple thing to do?
location / {
rewrite (.*) base.html break;
}
works, but redirects the url? I still need the url, I just want to always use the same page.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…