
nginx
谁的大王
谁派谁去巡山,谁是谁的大王
展开
-
nginx指定路径访问静态资源
nginx.conf中 location / test { alias /data/kong /; } 访问XXX/test/index.html就相当于访问XXX/data/kong/index.html经过测试可用原创 2018-10-25 19:41:47 · 5916 阅读 · 0 评论 -
工作中碰到的各种问题
1、http换成https当运维配置nginx跳转https后,发现页面仍然跳转失败,然后将代码中的redirect:/XXX(XXX是action的请求标示) 换成forward:/XXX 后,页面成功跳转...原创 2019-06-05 18:08:49 · 296 阅读 · 0 评论