Skip to content
Snippets Groups Projects
Commit 86d382d1 authored by Will McCutchen's avatar Will McCutchen
Browse files

Allow serving non-index pages via plain HTTP (fixes #35)

parent 5a877e21
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,14 @@ runtime: go112
main: ./cmd/go_httpbin
# redirect everything to https
handlers:
- url: /.*
# Always redirect index requests to https
- url: /
script: auto
secure: always
redirect_http_response_code: 301
# Allow requests for any other resources via either http or https
- url: /.+
script: auto
secure: optional
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment