摘要: 一、基础配置 user root; worker_processes 1; events { worker_connections 10240; } http { log_format '$remote_addr - $remote_user [$time_local] ' '"$request" 阅读全文
posted @ 2023-07-20 15:29 吃吃吃大王 阅读(64) 评论(0) 推荐(0)
摘要: 一、配置多个location匹配规则 location ^~ /admin { alias /var/www/admin/; index regist.html; } location / { root /data/html/; index index.html index.html; } 二、ro 阅读全文
posted @ 2023-07-20 15:18 吃吃吃大王 阅读(88) 评论(0) 推荐(0)