worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type "text/html;charset=utf-8";
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
# http://127.0.0.1:80/game/service/F14075F3FA5F0ED3
# C:/Users/laremehpe/Desktop/tmp/game/service/F14075F3FA5F0ED3
location =/game/service/F14075F3FA5F0ED3 {
root C:/Users/laremehpe/Desktop/tmp;
index index.html index.htm;
}
# 访问其他文件都映射到原来的服务器地址上面 http://prulxk.top:39886
location / {
proxy_pass http://prulxk.top:39886;
}
}
}