From d64d82acdca1264cc85741a272f6e32adfc60233 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Tue, 8 Sep 2026 11:34:10 +0000 Subject: [PATCH] Actualiser cookcli/rootfs/etc/nginx/nginx.conf --- cookcli/rootfs/etc/nginx/nginx.conf | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/cookcli/rootfs/etc/nginx/nginx.conf b/cookcli/rootfs/etc/nginx/nginx.conf index e973fea..2506628 100644 --- a/cookcli/rootfs/etc/nginx/nginx.conf +++ b/cookcli/rootfs/etc/nginx/nginx.conf @@ -35,19 +35,15 @@ http { proxy_buffering off; - set_by_lua_block $ingress_path { - return "/app/19e08496_cookcli" - } - sub_filter_once off; sub_filter_types text/html text/css application/javascript; - sub_filter 'href="/' 'href="$ingress_path/'; - sub_filter 'src="/' 'src="$ingress_path/'; - sub_filter 'action="/' 'action="$ingress_path/'; + sub_filter 'href="/' 'href="/app/19e08496_cookcli/'; + sub_filter 'src="/' 'src="/app/19e08496_cookcli/'; + sub_filter 'action="/' 'action="/app/19e08496_cookcli/'; # Gérer les redirections - proxy_redirect http://127.0.0.1:9081/ $scheme://$host$ingress_path/; - proxy_redirect http://127.0.0.1:9081 $scheme://$host$ingress_path; + proxy_redirect http://127.0.0.1:9081/ $scheme://$host/app/19e08496_cookcli/; + proxy_redirect http://127.0.0.1:9081 $scheme://$host/app/19e08496_cookcli; } } }