Ajout endpoint admin

neo
pigeonmoelleux 2025-03-01 19:46:14 +01:00
parent fbafd62a2c
commit ce4de085d7
No known key found for this signature in database
GPG Key ID: B3BE02E379E6E8E2
1 changed files with 9 additions and 0 deletions

View File

@ -176,5 +176,14 @@
proxy_set_header Host $host;
'';
};
locations."/_synapse/admin" = {
proxyPass = "http://localhost:8008";
extraConfig = ''
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
'';
};
};
}