#user nobody;
worker_processes 1;
error_log logs/error.log;
pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server{
listen 9001;
location / {
root C:/soft/hm-mall/hm-mall-admin; #注意:路径分隔符需要是/, 不要用\
}
}
server{
listen 9002;
location / {
root C:/soft/hm-mall/hm-mall-portal;
}
}
}
nginx配置参考
最新推荐文章于 2025-12-27 15:45:53 发布
4万+

被折叠的 条评论
为什么被折叠?



