ingress #1

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

View file

@ -35,19 +35,15 @@ http {
proxy_buffering off; proxy_buffering off;
set_by_lua_block $ingress_path {
return "/app/19e08496_cookcli"
}
sub_filter_once off; sub_filter_once off;
sub_filter_types text/html text/css application/javascript; sub_filter_types text/html text/css application/javascript;
sub_filter 'href="/' 'href="$ingress_path/'; sub_filter 'href="/' 'href="/app/19e08496_cookcli/';
sub_filter 'src="/' 'src="$ingress_path/'; sub_filter 'src="/' 'src="/app/19e08496_cookcli/';
sub_filter 'action="/' 'action="$ingress_path/'; sub_filter 'action="/' 'action="/app/19e08496_cookcli/';
# Gérer les redirections # 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/app/19e08496_cookcli/;
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;
} }
} }
} }