This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/docker/nginx/conf.d/server/server.account

47 lines
964 B
Plaintext
Raw Normal View History

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;
# 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;
}
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
}
location /api/register {
include /etc/nginx/conf.d/include/cors;
rewrite /api/(.*) /$1 break;
proxy_pass http://accounts:3000;
}
location /api/user/pubkey/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;
}