Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Custom HTTP base path #543

Open
Knud3 opened this issue Sep 22, 2023 · 0 comments
Open

FR: Custom HTTP base path #543

Knud3 opened this issue Sep 22, 2023 · 0 comments

Comments

@Knud3
Copy link

Knud3 commented Sep 22, 2023

Add support for custom HTTP base path.

I tried Docker Hub release with nginx ingress and rewrite, but it failed partially.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /$2
spec:
  ingressClassName: nginx
  rules:
  - http:
      paths:
      - path: /carbon(/|$)(.*)
        pathType: ImplementationSpecific
        backend:
          service:
            name: carbon-relay-ng
            port:
              name: http

https://example.com/carbon

Screenshot from 2023-09-22 14-48-26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant