Skip to content

Instantly share code, notes, and snippets.

@tribulant tribulant/ssl
Created Oct 9, 2018

Embed
What would you like to do?
SSL redirect specific folder
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} folder
RewriteRule ^(.*)$ https://www.yourdomain.com/folder/$1 [R,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.