随笔分类 - nginx
摘要:在proxy server的配置文件中/etc/nginx/sites-available/default 在后端池的服务器配置文件上/etc/nginx/nginx.conf 添加下面红色的内容 log_format main '$remote_addr - $remote_user [$time
阅读全文
摘要: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,
阅读全文
摘要:Add the following location block to the server block: location / { root /data/www; } This location block specifies the “/” prefix compared with the UR
阅读全文
摘要:nginx has one master process and several worker processes. The main purpose of the master process is to read and evaluate configuration, and maintain
阅读全文
浙公网安备 33010602011771号