Page MenuHomeGitPull.it

Setup gfont-proxy.border-radio.it
Closed, ResolvedPublic2 Points

Description

Setup a Google Font proxy and make available here:

Test:

VirtualHost

#
# https://gitpull.it/T777
#
<VirtualHost *:80>

	ServerName gfont-proxy.border-radio.it

	# https://gitpull.it/T776
	Include /etc/apache2/my-includes/google-font-proxy.conf

</VirtualHost>

<VirtualHost *:443>

	ServerName gfont-proxy.border-radio.it

	# https://gitpull.it/T776
	Include /etc/apache2/my-includes/google-font-proxy.conf

	SSLEngine on
	SSLCertificateFile      /etc/letsencrypt/live/gfont-proxy.border-radio.it/cert.pem
	SSLCertificateKeyFile   /etc/letsencrypt/live/gfont-proxy.border-radio.it/privkey.pem
	SSLCertificateChainFile /etc/letsencrypt/live/gfont-proxy.border-radio.it/chain.pem

	Include /etc/apache2/my-includes/ssl-hardening.conf
</VirtualHost>

See T776: Setup Google Font reverse proxy cache for privacy reasons - with Apache's mod_cache at http://google-font-proxy.reyboz.it.

Let's Encrypt certificate

$ certbot certonly --webroot --webroot-path=/var/www/html -d gfont-proxy.border-radio.it