Configurazione da variabili di ambiente per redirector-bundle

This commit is contained in:
Giuseppe Fabiano
2024-02-16 10:00:39 +01:00
parent 9eb0e4c1bd
commit ad20a61180

View File

@@ -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
}