http.exceptionHandling { customizer -> customizer.accessDeniedHandler(accessDeniedHandler()) }
location =/ {
proxy_pass http://127.0.0.1:8081/;
}
location ~ ^/.+ {
proxy_pass http://127.0.0.1:8080;
}
location ~ ^/(css|fonts|images|js)/.+ {
proxy_pass http://127.0.0.1:8081/;
}