#openstack配置域名访问
openstack pike 安装 目录汇总
#主要是在默认配置的基础上,做了个url 301跳转#配置域名 yun.test.com cloud.test.comecho '#openstackServerName yun.test.comServerAlias cloud.test.com#DocumentRoot /usr/share/openstack-dashboard#urlRedirectMatch permanent ^/$ /dashboard#logErrorLog "/var/log/httpd/horizon_error.log"ServerSignature OffCustomLog "/var/log/httpd/horizon_access.log" combined '>/etc/httpd/conf.d/openstack-domain.conf#检测配置文件httpd -t#重启httpsystemctl restart httpd