-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
36 lines (28 loc) · 773 Bytes
/
nginx.conf
File metadata and controls
36 lines (28 loc) · 773 Bytes
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
server {
server_name _;
listen 8080;
root /mnt/gcs;
index index.html;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
location / {
auth_request /auth_request;
error_page 401 =302 /login;
}
location /auth_request {
proxy_pass https://kudasai-gate-tfi47rfjxa-an.a.run.app/api/kudasai;
}
location /login {
proxy_pass https://kudasai-gate-tfi47rfjxa-an.a.run.app/;
}
location ^~ /_next/ {
proxy_pass https://kudasai-gate-tfi47rfjxa-an.a.run.app/_next/;
}
location ^~ /api/ {
proxy_pass https://kudasai-gate-tfi47rfjxa-an.a.run.app/api/;
}
location /hub {
proxy_pass https://snapshot-hub-tfi47rfjxa-an.a.run.app/;
}
}