GITLAB

Snippets

Sign in
  • Sign in

OVH-SSL-Prestashop
Add new snippet


#98 by 72f60816e60779e1cff35b00d383cb94?s=40&d=identicon doekia
← discover snippets
.htaccess Buy Me a Coffee at ko-fi.com
raw
1 2 3 4 5 6 7 8 9 10 11 12 13
# Copyright (c) 2018 - (d)oekia LGPL
#
# OVH SSL Gateway is the HTTPS end-point.
# However the implementation is miss-configured.
# Try to fix that.
# WARNING: Check that your certificat is fully operational prior doing such change.
#          It forces the setting as if everything is OK and can lead to even more confusion.
#          Always mention you have implemented such settings to your technical operators

<IfModule mod_headers.c>
  RequestHeader set X-Forwarded-Proto "https" early
</IfModule>