Statistics
| Branch: | Tag: | Revision:

root / snf-deploy / files / etc / apache2 / sites-available / synnefo-ssl @ ad76b118

History | View | Annotate | Download (765 Bytes)

1
<IfModule mod_ssl.c>
2
<VirtualHost _default_:443>
3
  ServerName %HOST%
4

    
5
  Alias /static "/usr/share/synnefo/static"
6

    
7
#  SetEnv no-gzip
8
#  SetEnv dont-vary
9

    
10
  AllowEncodedSlashes On
11

    
12
  RequestHeader set X-Forwarded-Protocol "https"
13

    
14
  <Proxy * >
15
    Order allow,deny
16
    Allow from all
17
  </Proxy>
18

    
19
  SetEnv                proxy-sendchunked
20
  SSLProxyEngine        off
21
  ProxyErrorOverride    off
22

    
23
  ProxyPass        /static !
24
  ProxyPass        / http://localhost:8080/ retry=0
25
  ProxyPassReverse / http://localhost:8080/
26

    
27
#  RewriteEngine On
28
#  RewriteRule ^/login(.*) /im/login/redirect\$1 [PT,NE]
29

    
30
  SSLEngine on
31
  SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
32
  SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
33
</VirtualHost>
34
</IfModule>
35