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