aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2016-04-26 14:26:52 +1000
committerAndrew Gerrand <adg@golang.org>2016-04-27 01:14:09 +0000
commitad2a543973228410057dd779f91448286751d862 (patch)
treea155d4584bf95403ea8997dc2ee976c541a4d556
parentb9da173772bb642757acc6a9efd610daad8b3227 (diff)
downloadgolang-id-tour-ad2a543973228410057dd779f91448286751d862.tar.xz
gotour: redirect from HTTP to HTTPS on App Engine
Change-Id: I3e0c825d8a6d1cf41ab87f337943cb042f70a308 Reviewed-on: https://go-review.googlesource.com/22362 Reviewed-by: Francesc Campoy Flores <campoy@golang.org>
-rw-r--r--app.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.yaml b/app.yaml
index c602929..dfff2d5 100644
--- a/app.yaml
+++ b/app.yaml
@@ -11,13 +11,17 @@ handlers:
- url: /favicon.ico
static_files: static/img/favicon.ico
upload: static/img/favicon.ico
+ secure: always
- url: /content/img
static_dir: content/img
+ secure: always
- url: /static
static_dir: static
application_readable: true
+ secure: always
- url: /(.*|list|lesson/.*|compile|fmt|script\.js)
script: _go_app
+ secure: always
nobuild_files: (solutions|content)/.*