-
Notifications
You must be signed in to change notification settings - Fork 0
/
keystone-proxy.conf
36 lines (30 loc) · 1.07 KB
/
keystone-proxy.conf
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
Listen 10.154.9.72:5001
Listen 10.154.9.72:5359
<VirtualHost 10.154.9.72:5001>
ProxyPass / http://10.154.9.72:5000/
ProxyPassReverse / http://10.154.9.72:5000/
RequestHeader unset Accept-Encoding
FilterDeclare CUSTOMFILTER
FilterProvider CUSTOMFILTER SUBSTITUTE "%{CONTENT_TYPE} =~ m|^application/json|"
SetOutputFilter SUBSTITUTE;DEFLATE
<Location />
FilterChain CUSTOMFILTER
Substitute "s|http://10.154.9.72|http://10.154.2.225|i"
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>
</VirtualHost>
<VirtualHost 10.154.9.72:5359>
ProxyPass / http://10.154.9.72:35357/
ProxyPassReverse / http://10.154.9.72:35357/
RequestHeader unset Accept-Encoding
FilterDeclare CUSTOMFILTER
FilterProvider CUSTOMFILTER SUBSTITUTE "%{CONTENT_TYPE} =~ m|^application/json|"
SetOutputFilter SUBSTITUTE;DEFLATE
<Location />
FilterChain CUSTOMFILTER
Substitute "s|http://10.154.9.72|http://10.154.2.225|i"
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>
</VirtualHost>