nginx
文章平均质量分 56
风吹麦浪2015
你的地盘我做主。
展开
-
nginx配置proxy_pass URL末尾加与不加/(斜线)的区别
nginx在配置proxy_pass的时候 URL结尾加斜线(/)与不加的区别和注意事项假设访问路径的 /pss/bill.html加/斜线的情况location /pss/ {proxy_pass http://127.0.0.1:18081/;}被代理的真实访问路径为:http://127.0.0.1:18081/bill.html不加/斜线的情况location /pss/ {proxy_pass http://127.0.0.1:18081;}被代理的真实访.原创 2021-02-25 11:58:35 · 555 阅读 · 0 评论 -
window下使用是winsw将nginx注册为系统服务,开机自启动
使用 WinSW 将 nginx 注册成windows系统服务,开机自启今天在windows服务器部署了nginx,但是系统重启总是需要手动启动nginx,比较麻烦, 于是打算注册成系统服务,但是nginx在windows上没这个功能,需要用额外的工具进行注册。WinSW介绍官方介绍如下:WinSW is an executable binary, which can be used to wrap and manage a custom process as a Windows servi原创 2021-02-24 09:36:26 · 615 阅读 · 0 评论