feat: expose live enterprise domain presence
This commit is contained in:
parent
406e9d8a7d
commit
ef1734baee
4 changed files with 81 additions and 2 deletions
|
|
@ -0,0 +1,26 @@
|
|||
# Public, read-only enterprise presence receipts for HoloLake.
|
||||
# Include this file inside the TLS server block for guanghu.chat.
|
||||
|
||||
location = /api/hololake/enterprise/health {
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
proxy_pass http://127.0.0.1:8031/health;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 10s;
|
||||
add_header Cache-Control "no-store" always;
|
||||
}
|
||||
|
||||
location = /api/hololake/enterprise/status {
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
proxy_pass http://127.0.0.1:8031/v1/status;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 10s;
|
||||
add_header Cache-Control "no-store" always;
|
||||
}
|
||||
Loading…
Reference in a new issue