From cd4d89c55093ca3258284b21256d107150696df2 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Tue, 8 Sep 2026 12:17:11 +0000 Subject: [PATCH] Actualiser cookcli/rootfs/etc/nginx/nginx.conf --- cookcli/rootfs/etc/nginx/nginx.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cookcli/rootfs/etc/nginx/nginx.conf b/cookcli/rootfs/etc/nginx/nginx.conf index 2929f23..7ed37d8 100644 --- a/cookcli/rootfs/etc/nginx/nginx.conf +++ b/cookcli/rootfs/etc/nginx/nginx.conf @@ -14,17 +14,13 @@ http { access_log /proc/1/fd/1; error_log /proc/1/fd/2; - upstream cookcli_backend { - server 127.0.0.1:9081; # Le port interne de CookCLI - } - server { listen 9080; server_name localhost; location / { # Proxy simple et direct vers CookCLI - proxy_pass http://cookcli_backend; + proxy_pass http://127.0.0.1:9081; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; @@ -49,7 +45,7 @@ http { # Proxy simple vers CookCLI location / { - proxy_pass http://cookcli_backend; + proxy_pass http://127.0.0.1:9081; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";