如何使Nginx Web-Server显示各种内容取决于您到达页面的次数
例如,我们有page1.html和page2.html 当用户联系site.com/page-他会看到的page1.html,但是如果他第二次到达页面,他将看到page2.html
In example we have page1.html and page2.html
When user reaches out site.com/page - he see's page1.html, but if he will reach page second time he'll see page2.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这样做了,您只需要创建一个 upstream_module
Did it on myself, you just need to create an upstream_module with 2 servers and proxy_pass to it