2021-08-27 12:15:22 +00:00
|
|
|
listen 443 ssl http2;
|
|
|
|
|
|
|
|
include /etc/nginx/conf.d/include/ssl-settings;
|
|
|
|
include /etc/nginx/conf.d/include/init-optional-variables;
|
|
|
|
|
2022-04-19 11:16:57 +00:00
|
|
|
# Uncomment to launch new Dashboard under /v2 path
|
2022-05-25 13:01:35 +00:00
|
|
|
location / {
|
2022-05-25 05:35:52 +00:00
|
|
|
proxy_pass http://dashboard-v2:9000;
|
|
|
|
}
|
2022-04-19 11:16:57 +00:00
|
|
|
|
2021-12-15 11:44:01 +00:00
|
|
|
location /health {
|
|
|
|
proxy_pass http://accounts:3000;
|
|
|
|
}
|
|
|
|
|
2021-11-13 00:13:34 +00:00
|
|
|
location /api {
|
|
|
|
rewrite /api/(.*) /$1 break;
|
|
|
|
proxy_pass http://accounts:3000;
|
2021-08-27 12:15:22 +00:00
|
|
|
}
|
2021-11-16 08:27:04 +00:00
|
|
|
|
|
|
|
location /api/register {
|
|
|
|
include /etc/nginx/conf.d/include/cors;
|
|
|
|
|
|
|
|
rewrite /api/(.*) /$1 break;
|
|
|
|
proxy_pass http://accounts:3000;
|
|
|
|
}
|
|
|
|
|
2022-03-03 10:15:15 +00:00
|
|
|
location /api/user/pubkey/register {
|
|
|
|
include /etc/nginx/conf.d/include/cors;
|
|
|
|
|
|
|
|
rewrite /api/(.*) /$1 break;
|
|
|
|
proxy_pass http://accounts:3000;
|
|
|
|
}
|
|
|
|
|
2021-11-16 08:27:04 +00:00
|
|
|
location /api/login {
|
|
|
|
include /etc/nginx/conf.d/include/cors;
|
|
|
|
|
|
|
|
rewrite /api/(.*) /$1 break;
|
|
|
|
proxy_pass http://accounts:3000;
|
|
|
|
}
|
2022-01-19 17:07:24 +00:00
|
|
|
|
|
|
|
location /api/logout {
|
|
|
|
include /etc/nginx/conf.d/include/cors;
|
|
|
|
|
|
|
|
rewrite /api/(.*) /$1 break;
|
|
|
|
proxy_pass http://accounts:3000;
|
|
|
|
}
|