1- const pageConfig = {
1+ import { MaintenanceConfig , PageConfig , WorkerConfig } from './types/config'
2+
3+ const pageConfig : PageConfig = {
24 // Title for your status page
35 title : "Status Page" ,
46 // Links shown at the header of your status page, could set `highlight` to `true`
57 links : [
6- { link : 'https://git.saneke .eu' , label : 'Forgejo' } ,
7- { link : 'https://element.saneke .eu/' , label : 'Element' } ,
8+ { link : 'https://git.vengeful .eu' , label : 'Forgejo' } ,
9+ { link : 'https://element.vengeful .eu/' , label : 'Element' } ,
810 //{ link: 'mailto:me@lyc8503.net', label: 'Email Me', highlight: true },
911 ] ,
12+ group : {
13+ '🌐 Public (vengeful)' : [ 'ovh_25skleb01_ssh' , 'vengeful-forge' , 'synapse-main' , 'vengeful-auth' , 'vengeful-relay' ] ,
14+ '🌐 Public (api.naco.li)' : [ 'nacoli-api' ] ,
15+ '🌐 Public (saneke)' : [ 'oracle_ssh' , 'dendrite' , 'forgejo' ] ,
16+ //'🔐 Private': ['test_tcp_monitor'],
17+ } ,
1018}
1119
12- const workerConfig = {
20+ const workerConfig : WorkerConfig = {
1321 // Write KV at most every 3 minutes unless the status changed
1422 kvWriteCooldownMinutes : 3 ,
1523 // Enable HTTP Basic auth for status page & API by uncommenting the line below, format `<USERNAME>:<PASSWORD>`
@@ -45,7 +53,7 @@ const workerConfig = {
4553 //responseKeyword: 'success',
4654 // [OPTIONAL] if specified, the check will run in your specified region,
4755 // refer to docs https://github.com/lyc8503/UptimeFlare/wiki/Geo-specific-checks-setup before setting this value
48- //checkLocationWorkerRoute : 'https ://de.naco.li',
56+ checkProxy : 'worker ://weur'
4957 } ,
5058 {
5159 id : 'forgejo' ,
@@ -59,7 +67,7 @@ const workerConfig = {
5967 headers : {
6068 'User-Agent' : 'Uptimeflare' ,
6169 } ,
62- //checkLocationWorkerRoute : 'https ://de.naco.li',
70+ checkProxy : 'worker ://weur'
6371 } ,
6472 {
6573 id : 'vengeful-forge' ,
@@ -73,7 +81,7 @@ const workerConfig = {
7381 headers : {
7482 'User-Agent' : 'Uptimeflare' ,
7583 } ,
76- //checkLocationWorkerRoute : 'https ://de.naco.li',
84+ checkProxy : 'worker ://weur'
7785 } ,
7886 {
7987 id : 'synapse-main' ,
@@ -87,7 +95,7 @@ const workerConfig = {
8795 headers : {
8896 'User-Agent' : 'Uptimeflare' ,
8997 } ,
90- //checkLocationWorkerRoute : 'https ://de.naco.li',
98+ checkProxy : 'worker ://weur'
9199 } ,
92100 {
93101 id : 'vengeful-auth' ,
@@ -101,7 +109,35 @@ const workerConfig = {
101109 headers : {
102110 'User-Agent' : 'Uptimeflare' ,
103111 } ,
104- //checkLocationWorkerRoute: 'https://de.naco.li',
112+ checkProxy : 'worker://weur'
113+ } ,
114+ {
115+ id : 'vengeful-relay' ,
116+ name : 'Vengeful Nostr Relay' ,
117+ method : 'GET' ,
118+ target : 'https://relay.vengeful.eu/healthz' ,
119+ tooltip : 'Uptime of relay.vengeful.eu' ,
120+ statusPageLink : 'https://relay.vengeful.eu' ,
121+ expectedCodes : [ 200 ] ,
122+ timeout : 10000 ,
123+ headers : {
124+ 'User-Agent' : 'Uptimeflare' ,
125+ } ,
126+ checkProxy : 'worker://weur'
127+ } ,
128+ {
129+ id : 'nacoli-api' ,
130+ name : 'naco.li API Server' ,
131+ method : 'GET' ,
132+ target : 'https://api.naco.li/healthz' ,
133+ tooltip : 'Uptime of api.naco.li' ,
134+ statusPageLink : 'https://api.naco.li' ,
135+ expectedCodes : [ 200 ] ,
136+ timeout : 10000 ,
137+ headers : {
138+ 'User-Agent' : 'Uptimeflare' ,
139+ } ,
140+ checkProxy : 'worker://weur'
105141 } ,
106142 // Example TCP Monitor
107143 //{
@@ -122,7 +158,7 @@ const workerConfig = {
122158 target : '130.61.16.195:22221' ,
123159 tooltip : 'Uptime of Oracle ARM server' ,
124160 timeout : 30000 ,
125- //checkLocationWorkerRoute : 'https ://de.naco.li',
161+ checkProxy : 'worker ://weur'
126162 } ,
127163 {
128164 id : 'ovh_25skleb01_ssh' ,
@@ -131,7 +167,7 @@ const workerConfig = {
131167 target : '217.182.199.102:22' ,
132168 tooltip : 'Uptime of Kimsufi KS-LE-B server' ,
133169 timeout : 30000 ,
134- //checkLocationWorkerRoute : 'https ://de.naco.li',
170+ checkProxy : 'worker ://weur'
135171 }
136172 ] ,
137173 notification : {
0 commit comments