#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
#gzip on;
client_max_body_size 500m;
upstream api {
server 127.0.0.1:8080;
}
server {
listen 8090;
server_name localhost;
location ~ ^/(comm|back|store|mini|wms|wmsapp) {
proxy_pass http://api;
}
location /awmsweb {
alias F:/futureweb/web/;
index index.html index.htm;
}
}
}










网友评论