-
Notifications
You must be signed in to change notification settings - Fork 0
/
nginx.conf
49 lines (37 loc) · 918 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
44
45
46
47
48
49
events {}
http {
server {
listen 80;
server_name mip.ebrains.eu;
root /usr/share/nginx/html;
index index.html;
client_max_body_size 100M;
# Strapi CMS configuration
location /admin {
proxy_pass http://backend:1337;
}
location /users-permissions {
proxy_pass http://backend:1337/users-permissions;
}
location /content-manager {
proxy_pass http://backend:1337/content-manager;
}
location /content-type-builder {
proxy_pass http://backend:1337/content-type-builder;
}
location /upload {
proxy_pass http://backend:1337/upload;
}
# Strapi API configuration
location /uploads {
proxy_pass http://backend:1337/uploads;
}
location /graphql {
proxy_pass http://backend:1337/graphql;
}
location / {
include mime.types;
try_files $uri $uri/ /index.html;
}
}
}