[google-appengine] Re: Asp.Mvc core always sees requests as HTTP

2018-07-27 Thread 'George (Cloud Platform Support)' via Google App Engine
An interesting explanation with code sample is offered by Dan Cornilescu in 
his reply to the "Only receiving HTTP requests in Google App Engine Flex 
with .NET. How to only allow HTTPS?" question 

 
in stackoverflow. 

-- 
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/c4c964f9-034a-4be9-bb21-bf60a4a765a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Asp.Mvc core always sees requests as HTTP

2018-07-26 Thread 'Olu' via Google App Engine
The documentation 

 
explains "By default, HTTPS connections on your custom domain will be 
enabled automatically using managed SSL certificates.". Managed 
certificates are provisioned on App Engine automatically once a Custom 
Domain is mapped to your application and the necessary DNS records are 
configured. Custom domains can be setup on App Engine on this section,  App 
Engine > Settings > Custom Domains 

. 

Please note that Custom Domains always require ownership verification 
. 

However, about being able to setup redirects based on the incoming request, 
unfortunately, App Engine Flex does not support the use of Secure handlers 

 
any longer. Hence, as recommended on this similar Stackoverflow case 
,
 
the only way around with App Engine flex is to handle such redirects within 
your application. 

-- 
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/b7729292-3cd4-46f5-b62c-1c0958357357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Asp.Mvc core always sees requests as HTTP

2018-07-25 Thread Attila-Mihaly Balazs
>From here: 
https://cloud.google.com/appengine/docs/flexible/go/how-requests-are-handled#request_limits

"The X-Forwarded-Proto header lets you understand if the origin request was 
HTTP or HTTPs."

All the best,
Attila

-- 
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/e9a76d04-4d3f-44c3-8e5d-7678a7343db8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.