Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pages are not rendered with custom domain on app engine #9

Open
rakyll opened this issue Aug 2, 2017 · 1 comment
Open

pages are not rendered with custom domain on app engine #9

rakyll opened this issue Aug 2, 2017 · 1 comment

Comments

@rakyll
Copy link
Contributor

rakyll commented Aug 2, 2017

$ curl rakyll.pizza/cheese
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="go-import" content="rakyllpizza.appspot.com/cheese git https://github.com/rakyll/cheese">
<meta name="go-source" content="rakyllpizza.appspot.com/cheese https://github.com/rakyll/cheese https://github.com/rakyll/cheese/tree/master{/dir} https://github.com/rakyll/cheese/blob/master{/dir}/{file}#L{line}">
<meta http-equiv="refresh" content="0; url=https://godoc.org/rakyllpizza.appspot.com/cheese">
</head>
<body>
Nothing to see here; <a href="https://godoc.org/rakyllpizza.appspot.com/cheese">see the package on godoc</a>.
</body>
</html>%

Note the URLs are rakyllpizza.appspot.com/cheese not rakyll.pizza/cheese.

@rakyll rakyll changed the title pages are not rendered with custom domain pages are not rendered with custom domain on app engine Aug 2, 2017
@zombiezen
Copy link
Contributor

In your configuration, are you setting host:? This is actually the primary reason I added that field. I don't think App Engine plumbs enough info about custom domain names for us to be able to auto-detect. We could use the Host header field as in non-App Engine as the fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants