Skip to content

Instantly share code, notes, and snippets.

@ericmorand
Created July 15, 2020 18:54
Show Gist options
  • Save ericmorand/d257892259dc4fea08a1f5bfba1c0118 to your computer and use it in GitHub Desktop.
Save ericmorand/d257892259dc4fea08a1f5bfba1c0118 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
DocumentRoot /var/www/html/girard-perregaux.varnish
ServerName girard-perregaux.varnish
ServerAlias www.girard-perregaux.varnish
TimeOut 600
# SSLEngine on
# SSLCertificateFile /etc/ssl/domain.com.crt
# SSLCertificateKeyFile /etc/ssl/domain.com.key
<Directory /var/www/html/girard-perregaux.varnish>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept"
</Directory>
</VirtualHost>
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment