feat(nginx): location /checkin/ para el receptor de check-in de servidores de GEMMA (P305)
Tests ADN / test (push) Canceled after 0s
Tests ADN / test (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: GEMMA <noreply@gemma.dtic>
This commit is contained in:
co-authored by
Claude Opus 5.5
GEMMA
parent
b8d45892c9
commit
50ac0d0fdf
@@ -0,0 +1,15 @@
|
|||||||
|
# Archivo: checkin.conf
|
||||||
|
# Ubicación: /servicios/nginx/conf.d/checkin.conf (repo dtic-DIIAA)
|
||||||
|
# Receptor de check-in de servidores de GEMMA (P305): un servidor remoto reporta
|
||||||
|
# su propio estado por internet (POST /checkin/ con token), aunque su Tailscale
|
||||||
|
# esté caído. Backend: gemma-checkin.service, WEBrick en 127.0.0.1:4568.
|
||||||
|
# (Fragmento sin server block - se incluye desde ns8.conf)
|
||||||
|
|
||||||
|
location /checkin/ {
|
||||||
|
proxy_pass http://127.0.0.1:4568/checkin/;
|
||||||
|
client_max_body_size 16k;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user