This repository was archived by the owner on Nov 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapache_default_ssl.conf
More file actions
64 lines (46 loc) · 1.87 KB
/
apache_default_ssl.conf
File metadata and controls
64 lines (46 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
WSGIRestrictStdout Off
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ProxyPreserveHost On
ProxyRequests Off
ProxyPass /volume/v1 http://127.0.0.1:8776/v1
ProxyPassReverse /volume/v1 http://127.0.0.1:8776/v1
ProxyPass /services http://127.0.0.1:8773/services
ProxyPassReverse /services http://127.0.0.1:8773/services
ProxyPass /compute/v1.1 http://127.0.0.1:8774/v1.1
ProxyPassReverse /compute/v1.1 http://127.0.0.1:8774/v1.1
ProxyPass /compute/v1.0 http://127.0.0.1:8774/v1.0
ProxyPassReverse /compute/v1.0 http://127.0.0.1:8774/v1.0
ProxyPass /keystone/v2.0 http://127.0.0.1:5000/v2.0
ProxyPassReverse /keystone/v2.0 http://127.0.0.1:5000/v2.0
ProxyPass /glance/v1 http://127.0.0.1:9292/v1
ProxyPassReverse /glance/v1 http://127.0.0.1:9292/v1
ProxyPass /portal http://127.0.0.1:8080/portal
ProxyPassReverse /portal http://127.0.0.1:8080/portal
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^/$ https://%{SERVER_NAME} [R,S]
RewriteCond %{REQUEST_URI} ^/portal$
RewriteRule ^/portal$ https://%{SERVER_NAME}/portal$1 [R,S]
RewriteRule ^/(dash.*) https://%{SERVER_NAME}/$1 [R,S]
RewriteRule ^/(syspanel.*) https://%{SERVER_NAME}/$1 [R,S]
RewriteRule ^/(static.*) https://%{SERVER_NAME}/$1 [R,S]
RewriteRule ^/(media.*) https://%{SERVER_NAME}/$1 [R,S]
RewriteRule ^/(auth.*) https://%{SERVER_NAME}/$1 [R,S]
RewriteRule ^/horizon$ http://%{SERVER_NAME}/horizon/ [R,S]
DocumentRoot /var/www
<Directory /var/lib/collectd/rrd >
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ErrorLog /var/log/nova/apache-error.log
TransferLog /var/log/nova/apache-access.log
</VirtualHost>