"/etc/apache2/sites-available/horizon.conf"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 2개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;/etc/apache2/sites-available/horizon.conf
;/etc/apache2/sites-available/horizon.conf
;/etc/apache2/sites-enabled/horizon.conf


<source lang='apache'>
<source lang='apache'>
49번째 줄: 50번째 줄:
==같이 보기==
==같이 보기==
* [[/etc/apache2/sites-available/keystone.conf]]
* [[/etc/apache2/sites-available/keystone.conf]]
* [[/opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi]]
* [[Horizon]]
* [[Horizon]]


[[분류: /etc/apache2/sites-available]]
[[분류: /etc/apache2/sites-available]]
[[분류: /etc/apache2/sites-enabled]]
[[분류: .conf]]
[[분류: .conf]]

2017년 8월 9일 (수) 18:18 기준 최신판

1 개요[ | ]

/etc/apache2/sites-available/horizon.conf
/etc/apache2/sites-enabled/horizon.conf
<VirtualHost *:80>
    WSGIScriptAlias /dashboard /opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi
    WSGIDaemonProcess horizon user=stack group=stack processes=3 threads=10 home=/opt/stack/horizon display-name=%{GROUP}
    WSGIApplicationGroup %{GLOBAL}

    SetEnv APACHE_RUN_USER stack
    SetEnv APACHE_RUN_GROUP stack
    WSGIProcessGroup horizon

    DocumentRoot /opt/stack/horizon/.blackhole/
    Alias /dashboard/media /opt/stack/horizon/openstack_dashboard/static
    Alias /dashboard/static /opt/stack/horizon/static

    RedirectMatch "^/$" "/dashboard/"

    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>

    <Directory /opt/stack/horizon/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        # Apache 2.4 uses mod_authz_host for access control now (instead of
        #  "Allow")
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
    </Directory>
    <IfVersion >= 2.4>
      ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    ErrorLog /var/log/apache2/horizon_error.log
    LogLevel warn
    CustomLog /var/log/apache2/horizon_access.log combined
</VirtualHost>

WSGISocketPrefix /var/run/apache2

2 같이 보기[ | ]

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