nginx实现http服务配置
静态代理即实现nginx代理指向静态文件,实现动静分离主要配置如下:worker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; server { listen 8081; server_name localhost;