2021-08-27 12:15:22 +00:00
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
include /etc/nginx/conf.d/include/ssl-settings;
|
|
|
|
include /etc/nginx/conf.d/include/init-optional-variables;
|
|
|
|
|
|
|
|
location / {
|
2021-11-13 00:13:34 +00:00
|
|
|
proxy_pass http://dashboard:3000;
|
|
|
|
}
|
|
|
|
|
2021-12-15 11:44:01 +00:00
|
|
|
location /health {
|
|
|
|
proxy_pass http://accounts:3000;
|
|
|
|
}
|
|
|
|
|
2021-12-19 15:53:50 +00:00
|
|
|
location /stripe/webhook {
|
|
|
|
proxy_pass http://accounts:3000;
|
|
|
|
}
|
|
|
|
|
2021-11-13 00:13:34 +00:00
|
|
|
location /api/stripe/billing {
|
|
|
|
proxy_pass http://dashboard:3000;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /api/stripe/checkout {
|
|
|
|
proxy_pass http://dashboard:3000;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|