摘要: 在proxy server的配置文件中/etc/nginx/sites-available/default 在后端池的服务器配置文件上/etc/nginx/nginx.conf 添加下面红色的内容 log_format main '$remote_addr - $remote_user [$time 阅读全文
posted @ 2021-10-23 21:58 xman888 阅读(240) 评论(0) 推荐(0) 编辑
摘要: One of the frequent uses of nginx is setting it up as a proxy server, which means a server that receives requests, passes them to the proxied servers, 阅读全文
posted @ 2021-10-23 20:52 xman888 阅读(91) 评论(0) 推荐(0) 编辑
摘要: Add the following location block to the server block: location / { root /data/www; } This location block specifies the “/” prefix compared with the UR 阅读全文
posted @ 2021-10-23 13:40 xman888 阅读(241) 评论(0) 推荐(0) 编辑
摘要: systemd is a software suite that provides an array of system components for Linux operating systems. Its main aim is to unify service configuration an 阅读全文
posted @ 2021-10-23 11:19 xman888 阅读(52) 评论(0) 推荐(0) 编辑