Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Support #60

Open
sixpax12 opened this issue Oct 13, 2019 · 1 comment
Open

SSL Support #60

sixpax12 opened this issue Oct 13, 2019 · 1 comment

Comments

@sixpax12
Copy link

I changed the HTTP:// to HTTPS:// in the template file as our website is SSL ... this breaks the map image.

@ghost
Copy link

ghost commented Oct 14, 2019

You can enable HTTPS in .htaccess

Example:

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTP_USER_AGENT} !(BlackBerry)
RewriteCond %{HTTP_USER_AGENT} !(Windows\sNT\s5\.[12])
RewriteCond %{HTTP_HOST} ^(www\.)?domain.com
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]

Only domain.com will change
This is how we use it for a long time and everything works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant