-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf
56 lines (46 loc) · 1.23 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
daemon off;
events {}
http {
server {
listen 80;
return 301 https://$host$request_uri;
location / {
proxy_pass http://app-store-admin-frontend:80;
}
location /app-store-server {
proxy_pass http://app-store-server:8081/app-store-server;
}
}
server {
listen 443 ssl;
ssl_certificate /etc/nginx/certs/bttcdn.com.crt;
ssl_certificate_key /etc/nginx/certs/bttcdn.com.key;
location / {
proxy_pass http://app-store-admin-frontend:80;
}
location /auth {
proxy_pass http://app-store-admin-server:4002/auth;
}
location /applications {
proxy_pass http://app-store-admin-server:4002/applications;
}
location /categories {
proxy_pass http://app-store-admin-server:4002/categories;
}
location /admin {
proxy_pass http://app-store-admin-server:4002/admin;
}
location /topic {
proxy_pass http://app-store-admin-server:4002/topic;
}
location /topics {
proxy_pass http://app-store-admin-server:4002/topics;
}
location /recommends {
proxy_pass http://app-store-admin-server:4002/recommends;
}
location /app-store-server {
proxy_pass http://app-store-server:8081/app-store-server;
}
}
}