gorillajs
Version:
A smart development environment designed to easily install and neatly manage web applications. Gorilla JS frees you from the repetitive daily tasks like apps installation, database management, creation of virtual environment, server configuration… And it
28 lines (19 loc) • 871 B
Plain Text
<VirtualHost 0.0.0.0:443>
RequestHeader set X-Forwarded-Proto "https"
ServerName {{project.domain}}
ServerAlias www.{{project.domain}}
DocumentRoot /var/www/localhost
<IfModule mod_ssl.c>
SSLEngine on
SSLProxyEngine On
SSLCertificateFile /etc/letsencrypt/.acme.sh/{{project.domain}}/{{project.domain}}.cer
SSLCertificateKeyFile /etc/letsencrypt/.acme.sh/{{project.domain}}/{{project.domain}}.key
SSLCertificateChainFile /etc/letsencrypt/.acme.sh/{{project.domain}}/fullchain.cer
SSLCACertificateFile /etc/letsencrypt/.acme.sh/{{project.domain}}/fullchain.cer
</IfModule>
Alias /gorilla-maintenance /var/www/localhost
ProxyPreserveHost On
ProxyPass /gorilla-maintenance !
ProxyPass / http://{{project.domain}}/
ProxyPassReverse / http://{{project.domain}}/
</VirtualHost>