Fix httpd configurations to adapt Wallaby changes
This commit is contained in:
parent
561325aeaf
commit
5b5af6dee1
@ -1,19 +1,30 @@
|
|||||||
WSGIDaemonProcess dashboard
|
<VirtualHost *:80>
|
||||||
WSGIProcessGroup dashboard
|
ServerName openstack-dashboard.example.com
|
||||||
WSGISocketPrefix run/wsgi
|
ServerAdmin webmaster@openstack-dashboard.example.com
|
||||||
|
|
||||||
WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
|
ErrorLog /var/log/httpd/openstack-dashboard-error_log
|
||||||
Alias /dashboard/static /usr/share/openstack-dashboard/static
|
TransferLog /var/log/httpd/openstack-dashboard-access_log
|
||||||
|
|
||||||
<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
|
WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py
|
||||||
Options All
|
WSGIDaemonProcess horizon user=apache group=apache processes=3 threads=10
|
||||||
AllowOverride All
|
WSGIApplicationGroup %{GLOBAL}
|
||||||
Require all granted
|
WSGIProcessGroup horizon
|
||||||
</Directory>
|
SetEnv APACHE_RUN_USER apache
|
||||||
|
SetEnv APACHE_RUN_GROUP apache
|
||||||
|
|
||||||
<Directory /usr/share/openstack-dashboard/static>
|
DocumentRoot /usr/share/openstack-dashboard/
|
||||||
Options All
|
Alias /media /usr/share/openstack-dashboard/media
|
||||||
AllowOverride All
|
Alias /static /usr/share/openstack-dashboard/static
|
||||||
Require all granted
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
|
<Location /static>
|
||||||
|
SetOutputFilter DEFLATE
|
||||||
|
ExpiresActive On
|
||||||
|
ExpiresDefault "access plus 1 month"
|
||||||
|
</Location>
|
||||||
|
|
||||||
|
<Directory /usr/share/openstack-dashboard/>
|
||||||
|
Options FollowSymLinks MultiViews
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
||||||
Name: openstack-dashboard
|
Name: openstack-dashboard
|
||||||
Version: 19.2.0
|
Version: 19.2.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: OpenStack Dashboard (Horizon)
|
Summary: OpenStack Dashboard (Horizon)
|
||||||
License: Apache-2.0 and BSD
|
License: Apache-2.0 and BSD
|
||||||
URL: http://horizon.openstack.org/
|
URL: http://horizon.openstack.org/
|
||||||
@ -345,7 +345,10 @@ systemctl daemon-reload >/dev/null 2>&1 || :
|
|||||||
%{python3_sitelib}/openstack_auth
|
%{python3_sitelib}/openstack_auth
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 12 2021 liusheng <liusheng2048@gmail.com> 19.2.0-1
|
* Sat Aug 28 2021 liusheng <liusheng2048@gmail.com> 19.2.0-3
|
||||||
|
- Fix wrong httpd configuration
|
||||||
|
|
||||||
|
* Thu Aug 12 2021 liusheng <liusheng2048@gmail.com> 19.2.0-2
|
||||||
- Fix wrong requires of python3-oslo-config
|
- Fix wrong requires of python3-oslo-config
|
||||||
|
|
||||||
* Thu Aug 12 2021 liusheng <liusheng2048@gmail.com> 19.2.0-1
|
* Thu Aug 12 2021 liusheng <liusheng2048@gmail.com> 19.2.0-1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user