![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
nginx使用总结
xh2006000
这个作者很懒,什么都没留下…
展开
-
nginx二级目录重写示例记录
location /stblog/ {index index.php;try_files $uri uri//stblog/index.php?uri/ /stblog/index.php?uri//stblog/index.php?args;}location /laravel/public {index index.php;try_files $uri uri//laravel/public/index.php?uri/ /laravel/public/index.php?uri//la原创 2020-09-20 20:53:00 · 270 阅读 · 0 评论 -
nginx本地主机模拟负载均衡
nginx本地主机模拟负载均衡upstream mypro {server 192.168.118.128;server 192.168.118.130;}server{location / {#添加proxy_pass http://mypro;proxy_redirect off;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded原创 2020-09-10 19:35:31 · 237 阅读 · 0 评论