This commit is contained in:
dobefore
2021-07-25 11:57:31 +08:00
parent acb814ab59
commit 7fb13afc17
2 changed files with 28 additions and 19 deletions

27
docs/nginx.conf Normal file
View File

@@ -0,0 +1,27 @@
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
client_max_body_size 2048m;
server {
listen 27701;
# server_name should be modified (LAN eg: 192.168.1.43 )
server_name default;
location / {
proxy_http_version 1.0;
proxy_pass http://127.0.0.1:27702/;
}
}
}