#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;
upstream www.isreal.cn {
server 116.62.***.***:8080;
}
server {
listen 80;
server_name 116.62.***.***;
location / {
proxy_pass http://www.isreal.cn;
}
location ~*/resources/ {
root resources;
}
}
}
自用Nginx配置
最新推荐文章于 2024-02-24 16:18:10 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)