fix(infra) : update proxy port to 8086 and add maintenance mode
All checks were successful
Auto Tag Develop / tag (push) Successful in 6s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-04-07 15:24:54 +02:00
parent c5e2800e4c
commit 81266dd64b
3 changed files with 14 additions and 1 deletions

View File

@@ -10,6 +10,16 @@ server {
access_log /dev/stdout;
error_log /dev/stderr;
# Mode maintenance : créer /var/www/html/maintenance.on pour activer
if (-f /var/www/html/maintenance.on) {
return 503;
}
error_page 503 @maintenance;
location @maintenance {
root /var/www/html/public;
rewrite ^(.*)$ /maintenance.html break;
}
location ^~ /api/ {
root /var/www/html/public;
try_files $uri /index.php?$query_string;