imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Correctly redirect http://pidg.in to https://pidgin.im
2020-09-08, Gary Kramlich
5a25e19e2352
Parents
75162d105cb7
Children
28ba6fd6eea3
Correctly redirect http://pidg.in to https://pidgin.im
1 files changed, 7 insertions(+), 0 deletions(-)
+7
-0
50-nest.pidgin.im.yaml
--- a/50-nest.pidgin.im.yaml Mon Sep 07 03:46:30 2020 -0500
+++ b/50-nest.pidgin.im.yaml Tue Sep 08 21:59:13 2020 -0500
@@ -101,6 +101,13 @@
port: 80
middlewares:
- name: common-headers
+ - match: (Host(`pidg.in`) || Host(`www.pidg.in`))
+ kind: Rule
+ services:
+ - name: nest
+ port: 3000
+ middlewares:
+ - name: nest-redirects
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute