From 5fb1c0bbec0dee5f99897d8e3e899863fdbdd694 Mon Sep 17 00:00:00 2001 From: Joel Lappalainen Date: Mon, 3 Oct 2022 15:09:32 +0300 Subject: [PATCH] Revert "Merge pull request #206 from HSLdevcom/dns-validation-path" This reverts commit 29abca7e86edf8bde17e627581013998e8ca03a7, reversing changes made to 426c4390b490dd03a6a145181dead6496f6c688f. --- nginx.conf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nginx.conf b/nginx.conf index 6850010..a5d7b72 100644 --- a/nginx.conf +++ b/nginx.conf @@ -512,14 +512,6 @@ http { # Add HTTP Strict Transport Security for good measure. add_header Strict-Transport-Security "max-age=31536000; includeSubDomains;"; - # This is used by the certificate authority to validate we own the domain - location = /.well-known/pki-validation/fileauth.txt { - proxy_pass https://dnsvalidationstorage.blob.core.windows.net/dnsfiles/fileauth.txt; - proxy_redirect off; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - } - location / { proxy_pass http://digitransit-site:8080; include basicsettings.conf;