nginx将请求全部指向到html下的index.html页面

xiaoxiao2025-06-05  42

转: https://blog.csdn.net/z8853797/article/details/53898031

server {         listen       80;         server_name  localhost;

        location / {             try_files '' /index.html;         }

        location =/index.html {             index  index.html index.htm;         } }

转载请注明原文地址: https://www.6miu.com/read-5031345.html

最新回复(0)