<p>I am running Spring Boot Eureka on AKS (Azure Kubernetes) with a ingress to the the Eureka POD, there is no issue in loading the UI but the CSS and the wor.js does not load.</p>

<p>application.properties</p>

<pre class="lang-java prettyprint-override"><code>eureka:
  dashboard:
    enabled: true
    path: /webui
</code></pre>

<p>Ingress</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: discovery-ingress
  namespace: default
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.ingress.kubernetes.io/use-regex: "true"
spec:
  rules:
  - http:
      paths:
      - path: /discovery(/|$)(.*)
        backend:
         serviceName: discovery
         servicePort: 8761
</code></pre>

<p>I am new to Ingress so trying to figure out how to map the:</p>

<pre class="lang-html prettyprint-override"><code>   &lt;link rel="stylesheet" href="eureka/css/wro.css"&gt;
</code></pre>

<p>and the </p>

<pre class="lang-html prettyprint-override"><code>    &lt;script type="text/javascript" src="eureka/js/wro.js" &gt;&lt;/script&gt;
</code></pre>

<p>so that he default ingress backend does not give a 404. </p>

<p>Typically Ingress gives you an external endpoint like <code>eureka.example.com</code> so your javascript should be loaded in the form of <code>https://eureka.example.com/js/wro.js</code></p>

<p>Also please use <a href="https://github.com/spring-cloud/spring-cloud-kubernetes" rel="nofollow noreferrer">https://github.com/spring-cloud/spring-cloud-kubernetes</a> so that spring-cloud and Kubernetes do not step on each other toes.  </p>
