Skip to content

Instantly share code, notes, and snippets.

@florieger
Last active July 22, 2019 10:56
Show Gist options
  • Save florieger/69ed1ec5c9cf98c8b2bf9d968a8bc929 to your computer and use it in GitHub Desktop.
Save florieger/69ed1ec5c9cf98c8b2bf9d968a8bc929 to your computer and use it in GitHub Desktop.
AppCron HTTPS forward
# AppCron HTTPS forward
RewriteEngine On
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
@florieger
Copy link
Author

Put it at the beginning of the file, before other rules.

@florieger
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment