-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf
43 lines (35 loc) · 888 Bytes
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
events {
worker_connections 1024;
}
pid /tmp/nginx.pid;
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
client_body_temp_path /tmp/client_temp;
proxy_temp_path /tmp/proxy_temp_path;
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;
types {
application/javascript mjs;
}
server {
listen 3333;
root /usr/share/nginx/html;
location / {
access_log off;
try_files $uri /index.html;
}
location = /internal/health/liveness {
access_log off;
add_header Content-Type text/plain;
return 200 "alive";
}
location = /internal/health/readiness {
access_log off;
add_header Content-Type text/plain;
return 200 "ready";
}
}
}