- Learning Drupal 8
- Nick Abbott Richard Jones
- 80字
- 2021-07-16 09:36:51
Trusted host patterns
If you visit the page /admin/reports/status then you will see a warning informing you that Trusted Host Settings are not enabled.
Drupal 8 use a trusted host mechanism, where site administrators can whitelist hostnames. The mechanism now can be configured in the settings.php
file.
Setting the pattern as show here will inform Drupal that all sites hosted locally using the Dev Desktop – this with a URL ending in '.dd' - are trusted.
$settings['trusted_host_patterns'] = array( '^.*\.dd$', );
推薦閱讀
- MySQL數(shù)據(jù)庫應(yīng)用與管理 第2版
- Building a Game with Unity and Blender
- MATLAB圖像處理超級學(xué)習(xí)手冊
- The Computer Vision Workshop
- Quarkus實踐指南:構(gòu)建新一代的Kubernetes原生Java微服務(wù)
- Getting Started with NativeScript
- Jenkins Continuous Integration Cookbook(Second Edition)
- Mastering ROS for Robotics Programming
- Beginning C# 7 Hands-On:The Core Language
- micro:bit軟件指南
- Puppet Cookbook(Third Edition)
- Python深度學(xué)習(xí)入門:從零構(gòu)建CNN和RNN
- Performance Testing with JMeter 3(Third Edition)
- C#開發(fā)之道
- Abaqus GUI程序開發(fā)指南(Python語言)