The important thing is that PHP must report the SSL mode accurately (HTTP vs HTTPS). If the user is accessing via a different SSL mode than PHP is seeing, and VaultWiki is set to an enforce mode (AdminCP > Setup > Options > VaultWiki: Site Config > Force Request Protocol), then VaultWiki will see the wrong SSL mode and try to correct it.