Skip to content

grav image: Howto redirect HTTP --> HTTPS #205

Closed Answered by shinsenter
tbr66 asked this question in Q&A
Discussion options

You must be logged in to vote

@tbr66

I want to automatic redirect a HTTP request to the HTTPS site

I think you can try setting force_ssl: true in user/config/system.yaml as suggested in Grav’s official documentation.
https://learn.getgrav.org/17/security/configuration#system-configuration-user-config-system-yaml

The Docker images I'm sharing are meant to provide a PHP environment for running systems or frameworks built with PHP. If you have questions about specific configurations for a particular framework, I believe it's best to refer to the documentation provided by that framework.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tbr66
Comment options

Answer selected by shinsenter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants