openstack配置域名访问
#openstack配置域名访问
openstack pike 安装 目录汇总 http://www.cnblogs.com/elvi/p/7613861.html
#主要是在默认配置的基础上,做了个url 301跳转 #配置域名 yun.test.com cloud.test.com echo '#openstack <VirtualHost *:80> ServerName yun.test.com ServerAlias cloud.test.com #DocumentRoot /usr/share/openstack-dashboard #url RedirectMatch permanent ^/$ /dashboard #log ErrorLog "/var/log/httpd/horizon_error.log" ServerSignature Off CustomLog "/var/log/httpd/horizon_access.log" combined </VirtualHost> '>/etc/httpd/conf.d/openstack-domain.conf #检测配置文件 httpd -t #重启http systemctl restart httpd
本文来自博客园,作者:blog-elvin-vip,转载请注明原文链接:https://www.cnblogs.com/elvi/p/8005209.html