From 47e174d0e778b0891eaf1fbb30110f0327808f44 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 4 Jun 2014 21:44:18 -0700 Subject: [PATCH] Modifications for appengine --- app.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ index.html | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 app.yaml diff --git a/app.yaml b/app.yaml new file mode 100644 index 0000000..3c40271 --- /dev/null +++ b/app.yaml @@ -0,0 +1,40 @@ +runtime: python27 +version: 1 +api_version: 1 +application: cosmopolite-root +threadsafe: true + +handlers: +- url: / + static_files: index.html + upload: index.html + secure: always + http_headers: + X-Frame-Options: DENY + X-Content-Type-Options: nosniff + Strict-Transport-Security: max-age=31536000; includeSubDomains + +- url: /tutorial + static_files: tutorial.html + upload: tutorial.html + secure: always + http_headers: + X-Frame-Options: DENY + X-Content-Type-Options: nosniff + Strict-Transport-Security: max-age=31536000; includeSubDomains + +- url: /images + static_dir: images + secure: always + http_headers: + X-Frame-Options: DENY + X-Content-Type-Options: nosniff + Strict-Transport-Security: max-age=31536000; includeSubDomains + +- url: /stylesheets + static_dir: stylesheets + secure: always + http_headers: + X-Frame-Options: DENY + X-Content-Type-Options: nosniff + Strict-Transport-Security: max-age=31536000; includeSubDomains diff --git a/index.html b/index.html index c2be15b..e677849 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,7 @@

Dig in