# 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;
}
