From 24cdb0f19799ef5d051ac122c3f56c4c941295f6 Mon Sep 17 00:00:00 2001 From: Yegor Jbanov Date: Fri, 15 Jul 2016 12:40:57 -0700 Subject: [PATCH] redirect all http traffic to https automatically --- app/app.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/app.yaml b/app/app.yaml index d3fe342903..19cdeaa5b7 100644 --- a/app/app.yaml +++ b/app/app.yaml @@ -9,11 +9,14 @@ handlers: - url: / static_files: build/web/index.html upload: build/web/index.html + secure: always - url: /(.*\.(html|css|js|ico|svg|png|jpg|map|dart))$ static_files: build/web/\1 upload: build/web/.*\.(html|css|js|ico|svg|png|jpg|map|dart)$ + secure: always - url: /api/.* script: _go_app + secure: always skip_files: - (.+/)?(?