暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

etc_apache2_sites-available_ldap.j2 541B

12345678910111213141516
  1. <VirtualHost *:80>
  2. ServerName {{ ldap_subdomain }}.{{ item.name }}
  3. Redirect temp / https://{{ ldap_subdomain }}.{{ item.name }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ ldap_subdomain }}.{{ item.name }}
  7. SSLEngine On
  8. DocumentRoot /usr/share/fusiondirectory/html
  9. Options -Indexes
  10. LogLevel warn
  11. ErrorLog /var/log/apache2/ldap.info-error_log
  12. CustomLog /var/log/apache2/ldap.info-access_log common
  13. </VirtualHost>