sanbo
commited on
Commit
·
da7166b
1
Parent(s):
2ce57a6
update sth. at 2024-10-30 12:54:31
Browse files- nginx.conf +0 -33
- start.sh +0 -4
nginx.conf
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
# 指定 PID 文件位置
|
2 |
-
pid /var/run/nginx/nginx.pid;
|
3 |
-
|
4 |
-
events {
|
5 |
-
worker_connections 1024;
|
6 |
-
}
|
7 |
-
|
8 |
-
http {
|
9 |
-
include /etc/nginx/mime.types;
|
10 |
-
access_log /var/log/nginx/access.log;
|
11 |
-
error_log /var/log/nginx/error.log;
|
12 |
-
|
13 |
-
keepalive_timeout 65;
|
14 |
-
|
15 |
-
server {
|
16 |
-
listen 7860;
|
17 |
-
server_name localhost;
|
18 |
-
|
19 |
-
location / {
|
20 |
-
proxy_pass http://127.0.0.1:8080;
|
21 |
-
proxy_http_version 1.1;
|
22 |
-
proxy_set_header Upgrade $http_upgrade;
|
23 |
-
proxy_set_header Connection "upgrade";
|
24 |
-
proxy_set_header Host $host;
|
25 |
-
proxy_set_header X-Real-IP $remote_addr;
|
26 |
-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
27 |
-
proxy_set_header X-Forwarded-Proto $scheme;
|
28 |
-
|
29 |
-
proxy_buffering off;
|
30 |
-
proxy_cache off;
|
31 |
-
}
|
32 |
-
}
|
33 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
start.sh
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
echo "Starting socat..."
|
2 |
-
socat TCP-LISTEN:7680,fork TCP:localhost:8080 &
|
3 |
-
echo "Starting duck2api..."
|
4 |
-
exec /app/duck2api
|
|
|
|
|
|
|
|
|
|