ingress #1
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue