[僅限PaaS]{class="badge informative" title="僅適用於雲端專案(Adobe管理的PaaS基礎結構)和內部部署專案的Adobe Commerce 。"}
一般和進階設定路徑參考
此主題列出一般和進階設定路徑,不是 敏感和系統特定值。 magento app:config:dump命令將這些值寫入到共用組態檔app/etc/config.php,它應該是在原始檔控制中。
若要選擇性地覆寫任何組態設定或設定敏感設定,請參閱使用環境變數覆寫組態設定。
一般類別
本節列出 商店 >設定> 設定 > 一般 底下「管理員」中選項的變數名稱和設定路徑。
一般路徑
這些設定值可在 商店 >設定> 設定 >一般> 一般 中的管理員中使用。
名稱
設定路徑
僅限Commerce?
敏感?
預設國家
general/country/default
允許國家/地區
general/country/allow
郵遞區號為選填
general/country/optional_zip_countries
歐盟國家
general/country/eu_countries
熱門目的地
general/country/destinations以下專案需要狀態:
general/region/state_required若國家/地區選擇州,則允許選擇州
general/region/display_all時區
general/locale/timezone地區設定
general/locale/code重量單位
general/locale/weight_unit一週的第一天
general/locale/firstday週末
general/locale/weekend存取限制
general/restriction/is_active
限制模式
general/restriction/mode
啟動頁面
general/restriction/http_redirect
登陸頁面
general/restriction/cms_page
HTTP回應
general/restriction/http_status
存放區名稱
general/store_information/name商店電話號碼
general/store_information/phone商店營業時間
general/store_information/hours國家
general/store_information/country_id地區/州
general/store_information/region_id郵遞區號
general/store_information/postcode城市
general/store_information/city街道地址
general/store_information/street_line1街道地址行2
general/store_information/street_line2VAT編號
general/store_information/merchant_vat_number啟用單一存放區模式
general/single_store_mode/enabledWeb路徑
這些組態值可在 商店 >設定> 組態 > 一般 > 網頁 的管理員中使用。
名稱
設定路徑
僅限Commerce?
將存放區代碼新增至Url
web/url/use_store自動重新導向至基底URL
web/url/redirect_to_base使用Web伺服器重寫
web/seo/use_rewrites在店面上使用安全URL
web/secure/use_in_frontend在管理員中使用安全URL
web/secure/use_in_adminhtml啟用HTTP強制安全傳輸技術(HSTS)
web/secure/enable_hsts升級不安全的請求
web/secure/enable_upgrade_insecureOffloader標題
web/secure/offloader_headerCMS首頁
web/default/cms_home_pageCMS無路由頁面
web/default/cms_no_routeCMS無Cookie頁面
web/default/cms_no_cookies顯示CMS頁面的階層連結
web/default/show_cms_breadcrumbsCookie期限
web/cookie/cookie_lifetime僅使用HTTP
web/cookie/cookie_httponlyCookie限制模式
web/cookie/cookie_restriction驗證REMOTE_ADDR
web/session/use_remote_addr驗證HTTP_VIA
web/session/use_http_via驗證HTTP_X_FORWARDED_FOR
web/session/use_http_x_forwarded_for驗證HTTP_USER_AGENT
web/session/use_http_user_agent在店面使用SID
web/session/use_frontend_sid如果Cookie已停用,則重新導向至CMS頁面
web/browser_capabilities/cookies如果JavaScript已停用,則顯示通知
web/browser_capabilities/javascript本機儲存已停用時顯示通知
web/browser_capabilities/local_storage貨幣設定路徑
這些設定值可在 商店 >設定> 設定 > 一般 > 貨幣設定 中的管理員中使用。
名稱
設定路徑
僅限Commerce?
基本貨幣
currency/options/base預設顯示貨幣
currency/options/default允許的貨幣
currency/options/allowYahoo金融交易平台
TBDFixer.io
TBDWebservicex
TBD連線逾時(以秒為單位)
currency/yahoofinance/timeout連線逾時(以秒為單位)
currency/fixerio/timeout連線逾時(以秒為單位)
currency/webservicex/timeout已啟用
currency/import/enabled服務
currency/import/service開始時間
currency/import/time頻率
currency/import/frequency錯誤電子郵件收件者
currency/import/error_email錯誤電子郵件寄件者
currency/import/error_email_identity錯誤電子郵件範本
currency/import/error_email_template聯絡人路徑
這些設定值可在 商店 >設定> 設定 > 一般 > 連絡人 中的管理員中使用。
名稱
設定路徑
僅限Commerce?
啟用聯絡我們
contact/contact/enabled傳送電子郵件至
contact/email/recipient_email電子郵件寄件者
contact/email/sender_email_identity電子郵件範本
contact/email/email_template報表路徑
這些設定值可在 存放區 >設定> 設定 > 一般 > 報表 中的管理員中使用。
名稱
設定路徑
僅限Commerce?
年初至今開始
reports/dashboard/ytd_start目前月份開始
reports/dashboard/mtd_start內容管理路徑
這些設定值可在 存放區 >設定> 設定 > 一般 > 內容管理 中的管理員中使用。
名稱
設定路徑
僅限Commerce?
啟用WYSIWYG編輯器
cms/wysiwyg/enabled在目錄的WYSIWYG中為媒體內容使用靜態URL
cms/wysiwyg/use_static_urls_in_catalog啟用階層功能
cms/hierarchy/enabled啟用階層中繼資料
cms/hierarchy/metadata_enabled階層功能表的預設配置
cms/hierarchy/menu_layoutNew Relic報告路徑
這些設定值可在 存放區 >設定> 設定 > 一般 > New Relic報告 中的管理員中使用。
名稱
設定路徑
僅限Commerce?
啟用New Relic整合
newrelicreporting/general/enableNew Relic應用程式名稱
newrelicreporting/general/app_name啟用Cron
newrelicreporting/cron/enable_cron進階類別
此區段列出 商店 >設定> 設定 > 進階 底下「管理員」中選項可用的變數名稱和設定路徑。
管理員路徑
這些設定值可在 商店 >設定> 設定 > 進階 > 管理員 中的管理員中使用。
名稱
設定路徑
僅限Commerce?
忘記密碼電子郵件範本
admin/emails/forgot_email_template忘記並重設電子郵件寄件者
admin/emails/forgot_email_identity使用者通知範本
admin/emails/user_notification_template啟動頁面
admin/startup/menu_item_id使用自訂管理員URL
admin/url/use_custom使用自訂管理路徑
admin/url/use_custom_path管理員帳戶共用
admin/security/admin_account_sharing密碼重設保護型別
admin/security/password_reset_protection_type復原連結到期日(小時)
admin/security/password_reset_link_expiration_period密碼重設要求的最大數量
admin/security/max_number_password_reset_requests密碼重設要求之間的最短時間
admin/security/min_time_between_password_reset_requests將秘密金鑰新增至URL
admin/security/use_form_key登入區分大小寫
admin/security/use_case_sensitive_login管理員工作階段存留期(秒)
admin/security/session_lifetime鎖定帳戶的最大登入失敗次數
admin/security/lockout_failures鎖定時間(分鐘)
admin/security/lockout_threshold密碼存留期(天)
admin/security/password_lifetime密碼變更
admin/security/password_is_forced啟用圖表
admin/dashboard/enable_charts在Admin中啟用驗證碼
admin/captcha/enable字型
admin/captcha/fontForms
admin/captcha/forms顯示模式
admin/captcha/mode登入嘗試失敗的次數
admin/captcha/failed_attempts_login驗證碼逾時(分鐘)
admin/captcha/timeout符號數
admin/captcha/length驗證碼中使用的符號
admin/captcha/symbols區分大小寫
admin/captcha/case_sensitive啟用的動作
admin/magento_logging/actions系統路徑
這些組態值可在 存放區 >設定> 組態 > 進階 > 系統 的管理員中使用。
名稱
設定路徑
僅限Commerce?
成功的訊息存留期
system/mysqlmq/successful_messages_lifetime重試以下時間後進行中的訊息:
system/mysqlmq/retry_inprogress_after失敗的訊息存留期
system/mysqlmq/failed_messages_lifetime新訊息存留期
system/mysqlmq/new_messages_lifetime產生排程間隔
system/cron/index/schedule_generate_every提前排程
system/cron/index/schedule_ahead_for如果未於內執行,則已錯過
system/cron/index/schedule_lifetime歷史記錄清理間隔
system/cron/index/history_cleanup_every成功歷程記錄期限
system/cron/index/history_success_lifetime失敗歷程記錄存留期
system/cron/index/history_failure_lifetime使用個別程式
system/cron/index/use_separate_process產生排程間隔
system/cron/default/schedule_generate_every提前排程
system/cron/default/schedule_ahead_for如果未於內執行,則已錯過
system/cron/default/schedule_lifetime歷史記錄清理間隔
system/cron/default/history_cleanup_every成功歷程記錄期限
system/cron/default/history_success_lifetime失敗歷程記錄存留期
system/cron/default/history_failure_lifetime產生排程間隔
system/cron/staging/schedule_generate_every
提前排程
system/cron/staging/schedule_ahead_for
如果未於內執行,則已錯過
system/cron/staging/schedule_lifetime
歷史記錄清理間隔
system/cron/staging/history_cleanup_every
成功歷程記錄期限
system/cron/staging/history_success_lifetime
失敗歷程記錄存留期
system/cron/staging/history_failure_lifetime
使用個別程式
system/cron/staging/use_separate_process
產生排程間隔
system/cron/catalog/event/schedule_generate_every
提前排程
system/cron/catalog/event/schedule_ahead_for
如果未於內執行,則已錯過
system/cron/catalog/event/schedule_lifetime
歷史記錄清理間隔
system/cron/catalog/event/history_cleanup_every
成功歷程記錄期限
system/cron/catalog/event/history_success_lifetime
失敗歷程記錄存留期
system/cron/catalog/event/history_failure_lifetime
使用個別程式
system/cron/catalog/event/use_separate_process
使用個別程式
system/cron/default/use_separate_process停用電子郵件通訊
system/smtp/disable設定傳迴路徑
system/smtp/set_return_path回訪路徑電子郵件
system/smtp/return_path_email安裝的貨幣
system/currency/installed使用HTTPS取得摘要
system/adminnotification/use_https更新頻率
system/adminnotification/frequency上次更新
system/adminnotification/last_update啟用排定的備份
system/backup/enabled備份型別
system/backup/type開始時間
system/backup/time頻率
system/backup/frequency維護模式
system/backup/maintenance記錄專案存留期,天
system/rotation/lifetime記錄封存頻率
system/rotation/frequency快取應用程式
system/full_page_cache/caching_application公開內容的TTL
system/full_page_cache/ttl寬限期
system/full_page_cache/varnish/grace_period匯出設定
system/full_page_cache/varnish/export_button_version4記錄中儲存的天數
system/bulk/lifetime媒體儲存
system/media_storage_configuration/media_storage選取媒體資料庫
system/media_storage_configuration/media_database (在Commerce 2.4.3中已過時)環境更新時間
system/media_storage_configuration/configuration_update_time儲存檔案,天
system/magento_scheduled_import_export_log/save_days啟用排定的檔案記錄清除
system/magento_scheduled_import_export_log/enabled開始時間
system/magento_scheduled_import_export_log/time頻率
system/magento_scheduled_import_export_log/frequency錯誤電子郵件範本
system/magento_scheduled_import_export_log/error_email_template開發人員路徑
這些設定值可在 商店 >設定> 設定 > 進階 > 開發人員 中的管理員中使用。
名稱
設定路徑
僅限Commerce?
工作流程型別
dev/front_end_development_workflow/type允許符號連結
dev/template/allow_symlink縮制Html
dev/template/minify_html啟用店面的範本路徑提示
dev/debug/template_hints_storefront為管理員啟用範本路徑提示
dev/debug/template_hints_admin將區塊名稱新增至提示
dev/debug/template_hints_blocks記錄至檔案
dev/debug/debug_logging記錄到syslog
dev/syslog/syslog_logging已針對店面啟用
dev/translate_inline/active為管理員啟用
dev/translate_inline/active_admin合併JavaScript檔案
dev/js/merge_files啟用JavaScript套件組合
dev/js/enable_js_bundling簡化JavaScript檔案
dev/js/minify_files翻譯策略
dev/js/translate_strategy將JS錯誤記錄到工作階段存放區
dev/js/session_storage_logging合併CSS檔案
dev/css/merge_css_files縮制CSS檔案
dev/css/minify_files影像配接卡
dev/image/default_adapter簽署靜態檔案
dev/static/sign非同步索引
dev/grid/async_indexing快取使用者定義的屬性
dev/caching/cache_user_defined_attributesrecommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c