Skip to content

Commit

Permalink
move uploads to private, require active session
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Oct 4, 2023
1 parent 5254d8f commit b69cc45
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion charts/hub-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,20 @@ routes:
paths:
- /invites/*

- name: ui-private-uploads
subdomain: hub
serviceName: hub-ui
servicePort: 80
session:
enabled: true
sessionRedirect:
enabled: true
redirectTo: true
methods:
- POST
paths:
- /uploads

- name: ui-public
subdomain: hub
serviceName: hub-ui
Expand All @@ -171,7 +185,6 @@ routes:
- /terms-of-service
- /privacy-policy
- /api/.ory/*
- /uploads

- name: hub-auth-api
serviceName: hydra-public
Expand Down

0 comments on commit b69cc45

Please sign in to comment.