mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
fix routes
This commit is contained in:
parent
95929bbeb7
commit
6ad27c9aea
@ -143,7 +143,7 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://home/;
|
||||
proxy_pass http://home;
|
||||
}
|
||||
|
||||
location /accounts {
|
||||
@ -156,7 +156,7 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://accounts/;
|
||||
proxy_pass http://accounts;
|
||||
}
|
||||
|
||||
location /dashboard {
|
||||
@ -169,7 +169,7 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://dashboard/;
|
||||
proxy_pass http://dashboard;
|
||||
}
|
||||
|
||||
location /status-page {
|
||||
@ -182,7 +182,7 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://status-page/;
|
||||
proxy_pass http://status-page;
|
||||
}
|
||||
|
||||
location /identity {
|
||||
@ -238,6 +238,6 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://workers/;
|
||||
proxy_pass http://workers;
|
||||
}
|
||||
}
|
@ -27,7 +27,7 @@ const APP_NAME: string = 'workers';
|
||||
const app: ExpressApplication = Express.getExpressApp();
|
||||
|
||||
//cert routes.
|
||||
app.use(StausPageCerts);
|
||||
app.use(`/${APP_NAME.toLocaleLowerCase()}`, StausPageCerts);
|
||||
|
||||
const init: Function = async (): Promise<void> => {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user