Skip to content

run yakd behind proxy and/or in subpath? #133

@wendellwt

Description

@wendellwt
  1. Is is possible to run yakd behind a proxy?

If the site where minikube is running is behind a proxy, then the main url is:

https://my.site.com/myproxy/

and index.html is retrieved, but subsequent requests are for:

https://my.site.com/static/js/main.a5eacbe6.js

and not:

https://my.site.com/myproxy/static/js/main.a5eacbe6.js

How can the yaml files be configured to achieve this?

  1. Is it possible to run yakd in a subpath?

If the ingress.yaml is set to:

    nginx.ingress.kubernetes.io/rewrite-target: /$1
    nginx.ingress.kubernetes.io/use-regex: "true"

and

      - path: /yakd/(.*)
        pathType: ImplementationSpecific

the frontend still requests urls like:

https://my.site.com/static/js/main.a5eacbe6.js

and not:

https://my.site.com/yakd/static/js/main.a5eacbe6.js

How can the yaml files be configured to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions