Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #13 from SocialGouv/redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda authored Jan 3, 2022
2 parents 80aa069 + 82ffed3 commit 1bc22cf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .socialgouv/redirect.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/permanent-redirect: https://monpsy.sante.gouv.fr$request_uri
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/tls-acme: "true"
labels:
app.kubernetes.io/component: redirect
app.kubernetes.io/name: www
name: monpsy-redirect
namespace: monpsy
spec:
rules:
- host: www.monpsy.sante.gouv.fr
tls:
- hosts:
- www.monpsy.sante.gouv.fr
secretName: monpsy-redirect
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ https://monpsy.sante.gouv.fr
yarn build
npm run dev
```

0 comments on commit 1bc22cf

Please sign in to comment.