diff --git a/Containers/mastercontainer/supervisord.conf b/Containers/mastercontainer/supervisord.conf index 0b60a0d7..5bad1235 100644 --- a/Containers/mastercontainer/supervisord.conf +++ b/Containers/mastercontainer/supervisord.conf @@ -57,8 +57,8 @@ command=/session-deduplicator.sh user=root [program:domain-validator] -stdout_logfile=/dev/stdout -stdout_logfile_maxbytes=0 +# stdout_logfile=/dev/stdout +# stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 command=php -S 127.0.0.1:9876 /var/www/docker-aio/php/domain-validator.php diff --git a/php/domain-validator.php b/php/domain-validator.php index 59d94f16..83f4fdf2 100644 --- a/php/domain-validator.php +++ b/php/domain-validator.php @@ -13,5 +13,6 @@ if (strpos($domain, '.') === false) { } elseif (filter_var($domain, FILTER_VALIDATE_IP)) { http_response_code(400); } else { + error_log($domain . ' was accepted as valid domain.'); http_response_code(200); }