aboutsummaryrefslogtreecommitdiff
path: root/app.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'app.yaml')
-rw-r--r--app.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/app.yaml b/app.yaml
index 530b645..63bf198 100644
--- a/app.yaml
+++ b/app.yaml
@@ -2,7 +2,6 @@ service: default
runtime: go118
env_variables:
- GOLANGORG_CHECK_COUNTRY: true
TOUR_ANALYTICS: |
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-2502278-11"></script>
<script>
@@ -14,9 +13,10 @@ env_variables:
default_expiration: "7d"
+handlers:
+
# Keep these static file handlers in sync with local.go.
# They're here for improved latency across global regions.
-handlers:
- url: /favicon.ico
static_files: static/img/favicon.ico
upload: static/img/favicon.ico
@@ -27,3 +27,9 @@ handlers:
- url: /static
static_dir: static
secure: always
+
+# This is here to redirect all HTTP traffic to an HTTPS URL
+# with the same path.
+- url: /.*
+ script: auto
+ secure: always