Actualiser cookcli/rootfs/etc/nginx/nginx.conf

This commit is contained in:
TheThomaas 2026-09-08 11:37:48 +00:00
parent 1c3b35052d
commit cede26906d

View file

@ -37,13 +37,13 @@ http {
sub_filter_once off;
sub_filter_types text/html text/css application/javascript;
sub_filter 'href="/' 'href="/app/19e08496_cookcli/';
sub_filter 'src="/' 'src="/app/19e08496_cookcli/';
sub_filter 'action="/' 'action="/app/19e08496_cookcli/';
sub_filter 'href="/' 'href="/api/hassio_ingress/8-13u1LdgJuV6yFRcXJAyE7ntZo2W_RHldPJ0xyiiKQ/';
sub_filter 'src="/' 'src="/api/hassio_ingress/8-13u1LdgJuV6yFRcXJAyE7ntZo2W_RHldPJ0xyiiKQ/';
sub_filter 'action="/' 'action="/api/hassio_ingress/8-13u1LdgJuV6yFRcXJAyE7ntZo2W_RHldPJ0xyiiKQ/';
# Gérer les redirections
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;
proxy_redirect http://127.0.0.1:9081/ $scheme://$host/api/hassio_ingress/8-13u1LdgJuV6yFRcXJAyE7ntZo2W_RHldPJ0xyiiKQ/;
proxy_redirect http://127.0.0.1:9081 $scheme://$host/api/hassio_ingress/8-13u1LdgJuV6yFRcXJAyE7ntZo2W_RHldPJ0xyiiKQ;
}
}
}