ingress #1

Merged
TheThomaas merged 157 commits from ingress into main 2026-09-08 13:20:49 +00:00
Showing only changes of commit 395c5930b4 - Show all commits

View file

@ -33,6 +33,21 @@ http {
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_buffering off; 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/';
# 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;
} }
} }
} }