mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 09:00:19 +00:00
653 B
653 B
title |
---|
SSL |
Secure Sockets Layer (SSL), is a cryptographic protocol designed to provide communications security over a computer network.
This configuration enforce SSL for your application.
Configuration
Configuration:
- Key:
ssl
- Environment:
development
- Location:
./config/environments/development/security.json
- Type:
object
Example:
{
"ssl": {
"disabled": false,
"trustProxy": true
}
}
Options:
disabled
(boolean): Iftrue
, this middleware will allow all requests through.trustProxy
(boolean): Iftrue
, trust theX-Forwarded-Proto
header.
Notes:
- Set to
false
to disable SSL.