diff --git a/charts/cloud-screenshot/Chart.yaml b/charts/cloud-screenshot/Chart.yaml index 39be988..6cb7c3a 100644 --- a/charts/cloud-screenshot/Chart.yaml +++ b/charts/cloud-screenshot/Chart.yaml @@ -5,4 +5,4 @@ maintainers: - email: dustin@elegantthemes.com name: Elegant Themes name: cloud-screenshot -version: 1.0.4 +version: 1.0.5 diff --git a/charts/cloud-screenshot/templates/nginx-config.yml b/charts/cloud-screenshot/templates/nginx-config.yml index d081937..4cca2cf 100644 --- a/charts/cloud-screenshot/templates/nginx-config.yml +++ b/charts/cloud-screenshot/templates/nginx-config.yml @@ -32,6 +32,14 @@ data: server 127.0.0.1:9000; } + # Redirect IP requests to the domain + server { + listen 80; + server_name _; + + return 301 http://cloud-screenshot.dc-screenshot.svc.cluster.local$request_uri; + } + server { listen 80; server_name cloud-screenshot.dc-screenshot.svc.cluster.local;