Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Hosting Simple Static Site on Appengine Standard for Free | by

Hosting Simple Static Site on Appengine Standard for Free

This set of files is all you need to host a static web site on Google Appengine Standard for free.

$ tree
├── app.yaml
└── static
├── index.html
├── robots.txt
└── sitemap.xml
1 directory, 4 files
runtime: nodejs10
- url: (/.*)?/
static_files: static\1/index.html
upload: static/(?:.+/)?index\.html
secure: always
redirect_http_response_code: 301
- url: /(.*)?
static_files: static/\1
upload: static/.*
secure: always
redirect_http_response_code: 301
# Block pro-Kremlin search engines
# user agent:
User-agent: Mail.Ru
Disallow: /
# Block Baidu Chinese search engine
# List of Baidu user agents:
# Please, keep records separated, more info:
User-agent: Baiduspider
Disallow: /
User-agent: Baiduspider-image
Disallow: /
User-agent: Baiduspider-mobile
Disallow: /
User-agent: Baiduspider-video
Disallow: /
User-agent: Baiduspider-news
Disallow: /
User-agent: Baiduspider-favo
Disallow: /
User-agent: Baiduspider-cpro
Disallow: /
User-agent: Baiduspider-ads
Disallow: /
<?xml version="1.0" encoding="UTF-8"?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment