Skip to content

Instantly share code, notes, and snippets.

@MachinisteWeb
Created October 17, 2017 09:09
Show Gist options
  • Save MachinisteWeb/36b09bbbf9810a900b234936e4a33196 to your computer and use it in GitHub Desktop.
Save MachinisteWeb/36b09bbbf9810a900b234936e4a33196 to your computer and use it in GitHub Desktop.
Configuration for benwagin.de
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE "application/atom+xml" "application/javascript" "application/json" "application/ld+json" "application/manifest+json" "application/rdf+xml" "application/rss+xml" "application/schema+json" "application/vnd.geo+json" "application/vnd.ms-fontobject" "application/x-font-ttf" "application/x-javascript" "application/x-web-app-manifest+json" "application/xhtml+xml" "application/xml" "font/eot" "font/opentype" "image/bmp" "image/svg+xml" "image/vnd.microsoft.icon" "image/x-icon" "text/cache-manifest" "text/css" "text/html" "text/javascript" "text/plain" "text/vcard" "text/vnd.rim.location.xloc" "text/vtt" "text/x-component" "text/x-cross-domain-policy" "text/xml"
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^benwagin\.de [NC]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://benwagin.de/$1 [R=301,L]
RewriteRule "^(.*)$" "http://localhost:7799/$1" [L,P]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment