Skip to content

Commit 42fe816

Browse files
committed
added nginx config file
1 parent d184a76 commit 42fe816

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
user root;
2+
worker_processes auto;
3+
error_log /dev/stdout info;
4+
pid /var/run/nginx.pid;
5+
6+
7+
events {
8+
}
9+
10+
http {
11+
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
12+
'$status $body_bytes_sent "$http_referer" '
13+
'"$http_user_agent" "$http_x_forwarded_for"';
14+
15+
access_log /dev/stdout main;
16+
17+
tcp_nopush on;
18+
tcp_nodelay on;
19+
keepalive_timeout 180;
20+
types_hash_max_size 2048;
21+
22+
include /etc/nginx/mime.types;
23+
default_type application/octet-stream;
24+
proxy_read_timeout 180;
25+
proxy_connect_timeout 180;
26+
27+
28+
server {
29+
listen 5002;
30+
client_body_temp_path /tmp/client_body_temp;
31+
proxy_temp_path /tmp/proxy_temp;
32+
33+
location /health {
34+
return 200;
35+
}
36+
37+
}
38+
}

0 commit comments

Comments
 (0)