Deleting blanko in allow-index.php

This commit is contained in:
myvesta 2019-10-01 13:40:13 +02:00 committed by GitHub
parent 91136300ea
commit b951743e56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
<?php
<?php
// Custom script that will be included in custom Vesta installations to allow normal index.html if Vesta was proxied via default nginx
if (file_exists("/usr/local/vesta/web/inc/switch_to_vesta_port") && isset($_SERVER['HTTP_X_REAL_IP']) && $_SERVER['REQUEST_URI']=="/") {