aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/app.yaml b/app.yaml
index 5ba09d0..aab2f02 100644
--- a/app.yaml
+++ b/app.yaml
@@ -15,9 +15,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
@@ -28,3 +29,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