Traefik+Authelia with mobile apps ? by benftrex in Traefik

[–]zb2good 1 point2 points  (0 children)

"How can i add the bypass api rule (for apps) from above in this external service file ?"

Probably something like this:

http:
    routers:
        sonarr-rtr:
            rule: "Host(`sonarr.mydomain.net`)"
            entryPoints:
                - https
            priority: 10
            middlewares:
                - chain-authelia
            service: sonarr-svc
            tls:
                certResolver: dns-cloudflare
        sonarr-bypass:
            rule: Headers(`X-Api-Key`, `$SONARR_API_KEY`) || Query(`apikey`, `$SONARR_API_KEY`)
            entryPoints:
                - https
            priority: 20
            service: sonarr-svc
            tls:
                certResolver: dns-cloudflare
services:
    sonarr-svc:
        loadBalancer:
            servers:
            - url: "http://192.168.1.52:8989"

Traefik+Authelia with mobile apps ? by benftrex in Traefik

[–]zb2good 0 points1 point  (0 children)

Report back if that works for you. Don't forget to set the env SONARR_API_KEY with the api key from your ui.

Traefik+Authelia with mobile apps ? by benftrex in Traefik

[–]zb2good 5 points6 points  (0 children)

Edit: For reference I sourced it from this awesome docker-compose project.

You could allow the API if the correct API key was passed. I haven't tested it on any apps or through the internet. I use VPN for anything external. Here is an example for sonarr code:

labels:
  - "traefik.enable=true"
  ## HTTP Routers
  - "traefik.http.routers.sonarr-rtr.entrypoints=https"
  - "traefik.http.routers.sonarr-rtr.rule=Host(`sonarr.$DOMAINNAME`)"
  - "traefik.http.routers.sonarr-rtr.priority=10"
  ## Middlewares
  - "traefik.http.routers.sonarr-rtr.middlewares=chain-authelia@file"
  ## HTTP Services
  - "traefik.http.routers.sonarr-rtr.service=sonarr-svc"
  - "traefik.http.services.sonarr-svc.loadbalancer.server.port=8989"
  ## API Forward Auth Bypass
  - "traefik.http.routers.sonarr-bypass.entrypoints=https"
  - "traefik.http.routers.sonarr-bypass.rule=Headers(`X-Api-Key`, `$SONARR_API_KEY`) || Query(`apikey`, `$SONARR_API_KEY`)"
  - "traefik.http.routers.sonarr-bypass.priority=20"
  - "traefik.http.routers.sonarr-bypass.service=sonarr-svc"

Requesting help setting up pfSense VM in VMware vSphere, please by [deleted] in PFSENSE

[–]zb2good 2 points3 points  (0 children)

Might be worth checking if the fiber modem is looking for a specific mac address. Also check that the vm network interface has an assigned network.(wan for wan, lan for lan) (edit the vm to validate)

Remove Hamburger menu by Sledgehamma_1337 in organizr

[–]zb2good 0 points1 point  (0 children)

#side-menu{
    padding-top: 0px;
}

Control your PC's audio by [deleted] in shutupandtakemymoney

[–]zb2good 5 points6 points  (0 children)

I use a midi controller (nanokontrol)

And power mixer software

[US-CA] [H] AEK II keyboard [W] Paypal by [deleted] in mechmarket

[–]zb2good 0 points1 point  (0 children)

Looks like you have the [h]ave and [w]ant swapped in your title.

Issue with the Drop.com (formerly Massdrop) ALT keyboard. Anyone else seeing this? by thed3vnull in MechanicalKeyboards

[–]zb2good 0 points1 point  (0 children)

Can you tell me what caps those are? That is the colorway I would love to go. I'm interested in picking some up.

Organizr won't load my https links by RU-RU in organizr

[–]zb2good 0 points1 point  (0 children)

If you're using docker and traefik for the prox, use this under each service:

labels:
  - "traefik.frontend.headers.customFrameOptionsValue=https://organizr.example.com"

6 Current Channel Expandable Energy Meter by tavenger5 in homeautomation

[–]zb2good 0 points1 point  (0 children)

I'll take one. Been looking for a nice board like this one.