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";