"/etc/httpd/conf.d/15-horizon vhost.conf"의 두 판 사이의 차이

(새 문서: ==개요== ;/etc/httpd/conf.d/15-horizon_vhost.conf <source lang='aconf'> # ************************************ # Vhost template in module puppetlabs-apache # Managed by Puppet # **...)
 
43번째 줄: 43번째 줄:


==같이 보기==
==같이 보기==
* [[/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi]]
* [[/etc/httpd/conf.d/openstack-dashboard.conf]]
* [[/etc/httpd/conf.d/openstack-dashboard.conf]]



2017년 9월 13일 (수) 16:02 판

1 개요

/etc/httpd/conf.d/15-horizon_vhost.conf
# ************************************
# Vhost template in module puppetlabs-apache
# Managed by Puppet
# ************************************

<VirtualHost *:80>
  ServerName controller.openstack.test

  ## Vhost docroot
  DocumentRoot "/var/www/"
  ## Alias declarations for resources outside the DocumentRoot
  Alias /dashboard/static "/usr/share/openstack-dashboard/static"

  ## Directories, there should at least be a declaration for /var/www/

  <Directory "/var/www/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Require all granted
  </Directory>

  ## Logging
  ErrorLog "/var/log/httpd/horizon_error.log"
  ServerSignature Off
  CustomLog "/var/log/httpd/horizon_access.log" combined 

  ## RedirectMatch rules
  RedirectMatch permanent  ^/$ /dashboard

  ## Server aliases
  ServerAlias 192.168.43.233
  ServerAlias controller.openstack.test
  ServerAlias localhost
  WSGIDaemonProcess apache group=apache processes=3 threads=10 user=apache
  WSGIProcessGroup apache
  WSGIScriptAlias /dashboard "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi"
</VirtualHost>

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}