diff --git a/openstack-dashboard-httpd-2.4.conf b/openstack-dashboard-httpd-2.4.conf index 820008c..744998e 100644 --- a/openstack-dashboard-httpd-2.4.conf +++ b/openstack-dashboard-httpd-2.4.conf @@ -1,19 +1,30 @@ -WSGIDaemonProcess dashboard -WSGIProcessGroup dashboard -WSGISocketPrefix run/wsgi + + ServerName openstack-dashboard.example.com + ServerAdmin webmaster@openstack-dashboard.example.com -WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi -Alias /dashboard/static /usr/share/openstack-dashboard/static + ErrorLog /var/log/httpd/openstack-dashboard-error_log + TransferLog /var/log/httpd/openstack-dashboard-access_log - - Options All - AllowOverride All - Require all granted - + WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py + WSGIDaemonProcess horizon user=apache group=apache processes=3 threads=10 + WSGIApplicationGroup %{GLOBAL} + WSGIProcessGroup horizon + SetEnv APACHE_RUN_USER apache + SetEnv APACHE_RUN_GROUP apache - - Options All - AllowOverride All - Require all granted - + DocumentRoot /usr/share/openstack-dashboard/ + Alias /media /usr/share/openstack-dashboard/media + Alias /static /usr/share/openstack-dashboard/static + + SetOutputFilter DEFLATE + ExpiresActive On + ExpiresDefault "access plus 1 month" + + + + Options FollowSymLinks MultiViews + AllowOverride None + Require all granted + + diff --git a/openstack-dashboard.spec b/openstack-dashboard.spec index 089de9e..967f63b 100644 --- a/openstack-dashboard.spec +++ b/openstack-dashboard.spec @@ -1,7 +1,7 @@ %{!?upstream_version: %global upstream_version %{version}%{?milestone}} Name: openstack-dashboard Version: 19.2.0 -Release: 2 +Release: 3 Summary: OpenStack Dashboard (Horizon) License: Apache-2.0 and BSD URL: http://horizon.openstack.org/ @@ -345,7 +345,10 @@ systemctl daemon-reload >/dev/null 2>&1 || : %{python3_sitelib}/openstack_auth %changelog -* Thu Aug 12 2021 liusheng 19.2.0-1 +* Sat Aug 28 2021 liusheng 19.2.0-3 +- Fix wrong httpd configuration + +* Thu Aug 12 2021 liusheng 19.2.0-2 - Fix wrong requires of python3-oslo-config * Thu Aug 12 2021 liusheng 19.2.0-1