Sha256: 07797557e9efd5ca88b1c861313dc191422b86fd17c6da14962cbc0d6594e68d
Contents?: true
Size: 1.23 KB
Versions: 11
Compression:
Stored size: 1.23 KB
Contents
<IfModule mod_ssl.c> <VirtualHost *:443> ServerName {{server_name}} {% for alias in server_aliases %} ServerAlias {{alias}} {% endfor %} RailsEnv {{rails_env}} # !!! Be sure to point DocumentRoot to 'public'! DocumentRoot /u/apps/{{project_name}}/current/public <Directory /u/apps/{{project_name}}/current/public> # This relaxes Apache security settings. AllowOverride all # MultiViews must be turned off. Options -MultiViews # Uncomment this if you're on Apache >= 2.4: Require all granted </Directory> <Location /assets/> # Use of ETag is discouraged when Last-Modified is present Header unset ETag FileETag None # RFC says only cache for 1 year ExpiresActive On ExpiresDefault "access plus 1 year" </Location> SSLCertificateFile /etc/letsencrypt/live/{{server_name}}/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/{{server_name}}/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateChainFile /etc/letsencrypt/live/{{server_name}}/chain.pem </VirtualHost> </IfModule>
Version data entries
11 entries across 11 versions & 1 rubygems