disable middlewares on internal ingress
All checks were successful
/ continuous-deploy (push) Successful in 25s

This commit is contained in:
Márcio Fernandes
2026-04-14 16:59:52 +01:00
parent 40d4c92271
commit 663049fb89

View File

@@ -15,47 +15,47 @@ spec:
routes: routes:
# AUTHENTIK OUTPOST # # AUTHENTIK OUTPOST
- match: Host(`cloud.limbosolutions.com`) && PathPrefix(`/outpost.goauthentik.io`) # - match: Host(`cloud.limbosolutions.com`) && PathPrefix(`/outpost.goauthentik.io`)
kind: Rule # kind: Rule
services: # services:
- name: ak-outpost-authentik-embedded-outpost # - name: ak-outpost-authentik-embedded-outpost
namespace: id-limbosolutions-com # namespace: id-limbosolutions-com
port: 9000 # port: 9000
# PUBLIC SHARES (NO SSO) # # PUBLIC SHARES (NO SSO)
- match: Host(`cloud.limbosolutions.com`) && # - match: Host(`cloud.limbosolutions.com`) &&
(PathPrefix(`/s/`) || # (PathPrefix(`/s/`) ||
PathPrefix(`/index.php/s/`) || # PathPrefix(`/index.php/s/`) ||
PathPrefix(`/public.php/`) || # PathPrefix(`/public.php/`) ||
PathPrefix(`/remote.php/dav/public-files/`)) # PathPrefix(`/remote.php/dav/public-files/`))
kind: Rule # kind: Rule
services: # services:
- name: nextcloud # - name: nextcloud
port: 8080 # port: 8080
middlewares: # middlewares:
- name: rate-limit # - name: rate-limit
- name: nextcloud-security-headers # - name: nextcloud-security-headers
# Sync clients + mobile app (no SSO) # # Sync clients + mobile app (no SSO)
- match: Host(`cloud.limbosolutions.com`) && # - match: Host(`cloud.limbosolutions.com`) &&
(PathPrefix(`/remote.php/dav`) || # (PathPrefix(`/remote.php/dav`) ||
PathPrefix(`/remote.php/webdav`) || # PathPrefix(`/remote.php/webdav`) ||
PathPrefix(`/remote.php/caldav`) || # PathPrefix(`/remote.php/caldav`) ||
PathPrefix(`/remote.php/carddav`) || # PathPrefix(`/remote.php/carddav`) ||
PathPrefix(`/ocs/v1.php`) || # PathPrefix(`/ocs/v1.php`) ||
PathPrefix(`/ocs/v2.php`) || # PathPrefix(`/ocs/v2.php`) ||
PathPrefix(`/status.php`) || # PathPrefix(`/status.php`) ||
PathPrefix(`/index.php/login/v2`) || # PathPrefix(`/index.php/login/v2`) ||
PathPrefix(`/index.php/login/v2/poll`)) # PathPrefix(`/index.php/login/v2/poll`))
kind: Rule # kind: Rule
services: # services:
- name: nextcloud # - name: nextcloud
port: 8080 # port: 8080
middlewares: # middlewares:
- name: webdav-strip-auth # #- name: webdav-strip-auth
- name: rate-limit # #- name: rate-limit
# 3) EVERYTHING ELSE (SSO REQUIRED) # 3) EVERYTHING ELSE (SSO REQUIRED)
- match: Host(`cloud.limbosolutions.com`) - match: Host(`cloud.limbosolutions.com`)
@@ -63,10 +63,10 @@ spec:
services: services:
- name: nextcloud - name: nextcloud
port: 8080 port: 8080
middlewares: middlewares: []
#- name: authentik-forward-auth #- name: authentik-forward-auth
- name: nextcloud-security-headers #- name: nextcloud-security-headers
- name: rate-limit #- name: rate-limit