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

Nginx subpath url do not work #30

Closed
Rahulsharma0810 opened this issue Sep 15, 2022 · 2 comments
Closed

Nginx subpath url do not work #30

Rahulsharma0810 opened this issue Sep 15, 2022 · 2 comments
Assignees

Comments

@Rahulsharma0810
Copy link

Describe the bug
The subpath URL doesn't work with the default settings.

To Reproduce
spec:
general:
ingress_host: media.labs.rvsharma.com

  radarr:
    enabled: true
    container:
      nodeSelector: {}
      port: 7878
    service:
      type: ClusterIP
      port: 7878
      nodePort:
      extraLBService: false
    ingress:
      enabled: true
      annotations:
        kubernetes.io/ingress.class: nginx
      path: /radarr

Expected behavior
media.labs.example.com/radarr

logs

ingress-nginx/ingress-nginx-nginx-ingress-8555b45c5c-jncnx[ingress-nginx-nginx-ingress]: 2022/09/15 18:59:43 [error] 344#344: *17678 open() "/etc/nginx/html/radarr" failed (2: No such file or directory), client: 192.168.0.113, server: media.labs.rvsharma.com, request: "HEAD /radarr HTTP/1.1", host: "media.labs.example.com"
ingress-nginx/ingress-nginx-nginx-ingress-8555b45c5c-jncnx[ingress-nginx-nginx-ingress]: 192.168.0.113 - - [15/Sep/2022:18:59:43 +0000] "HEAD /radarr HTTP/1.1" 404 0 "-" "curl/7.79.1" "-"

Environment:

  • K8s version: 1.21+
  • CNI Plugin: calico
  • CSI Type: longhorn

Additional context
Plex is working fine on the subdomain.

@kubealex
Copy link
Owner

hi @Rahulsharma0810, thx for reporting it. What is media.labs.example.com pointing to? You should point to media.labs.rvsharma.com/radarr if your ingress host is that one, is there a reason why you are calling media.labs.example.com?

@kubealex
Copy link
Owner

Closing this one, feel free to reopen it if more guidance is needed

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

2 participants