-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnginx.conf
59 lines (52 loc) · 1.29 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
57
58
59
server {
listen 80;
server_name localhost;
client_max_body_size 20000M;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location /api {
proxy_pass http://django:5000;
}
location /admin {
client_max_body_size 20000M;
proxy_pass http://django:5000;
}
location /login {
proxy_pass http://django:5000;
}
location /static/admin/css {
proxy_pass http://django:5000;
}
location /auth {
proxy_pass http://django:5000;
}
location /account {
proxy_pass http://django:5000;
}
location /socialaccount {
proxy_pass http://django:5000;
}
location /datasets {
client_max_body_size 20000M;
proxy_pass http://django:5000;
}
location /ontologies {
proxy_pass http://django:5000;
}
location /authtoken {
proxy_pass http://django:5000;
}
location /studies {
proxy_pass http://django:5000;
}
location /users {
proxy_pass http://django:5000;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}