Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have configure the app.yaml file as below and when i'm trying the project as http://localhost:8080 the project lodes without redirecting to
https://localhost (even the page not loading as https on local development) the url should change normal requests to https://....

what i did is adding the below part to .yaml

secure: always
  redirect_http_response_code: 301


how to resolve this?

What I have tried:

handlers:

- url: /(.*)
  static_files: dist/index.html
  upload: dist/index.html
  secure: always
  redirect_http_response_code: 301
Posted
Updated 10-May-18 20:20pm
v2

1 solution

It's working , i had to upload it for our test serve on live , because https redirection in not working under the local development environment.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900