You'd want to troubleshoot one thing at a time. Forgetting the  'secure: 
always' redirect, what happens when you just try to access your domain via 
HTTPS directly after configuring SSL? If that doesn't work, there's a 
problem with your SSL config, not the redirect.

Remember that you actually need to add specific DNS records to your 
domain's DNS configuration at the step 'Configure resource records for your 
domain' (see step 5 and 6 in the documentation 
<https://cloud.google.com/appengine/docs/standard/python/console/using-custom-domains-and-ssl#adding_a_custom_domain_for_your_application>).
 
If you've done this, DNS records also need time to propagate. You can check 
propagation by using a tool like https://www.whatsmydns.net.

On Saturday, April 8, 2017 at 9:11:54 AM UTC-4, pankaj arora wrote:
>
> I have already set up my custom domain on google app engine and it works 
> fine .. i am using python standard environment.
> yesterday I add SSL certificate and add 'secure: always' to app.yml file  .
>
> 1- now when i try to access my custom domain it redirect user to sub 
> domain of appspot.com.
>
> 2- One more issue when i called naked domain .. it says page is not 
> redirect properly 
>
> if i remove  'secure: always'  from app.yml file  .every thing works fine 
> but without https 
>
> Any one can help me in this case.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/60a2989b-575f-4b81-a268-b3ddfc63c9cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to