DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Fichero Para Apache De Host Virtual Para Redmine (SSL)

02.02.2010
| 3943 views |
  • submit to reddit
        Fichero: /etc/apache2/sites-enabled/virtualhost_redmine.conf

Sirve para definir el host virtual de Redmine en Apache usando SSL.
Ojo que no haya otro previamente sirviendo en *:443


# http://adminsq3.blogspot.com

NameVirtualHost *:443

<VirtualHost *:443>
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/cert.pem
    Include /etc/apache2/conf/redmine.conf
    RequestHeader set X_FORWARDED_PROTO 'https'
</VirtualHost>