Configurazione da variabili di ambiente per redirector-bundle
This commit is contained in:
@@ -15,10 +15,13 @@
|
||||
"config/packages/redirector-bundle.yaml": {
|
||||
"contents": [
|
||||
"redirector:",
|
||||
" redirect_subdomain: null # null | nwww_to_www | www_to_nwww",
|
||||
" force_protocol: null # null | http | https",
|
||||
" redirect_subdomain: '%env(REDIRECT_SUBDOMAIN)%' # null | nwww_to_www | www_to_nwww",
|
||||
" force_protocol: '%env(FORCE_PROTOCOL)%' # null | http | https",
|
||||
" # exclude_redirect_subdomain: # optional",
|
||||
" # - example.com"
|
||||
" # - example.com",
|
||||
"parameters:",
|
||||
" env(REDIRECT_SUBDOMAIN): null",
|
||||
" env(FORCE_PROTOCOL): null"
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user