diff --git a/init.sh b/init.sh index 5f9e1b5..57bbcb8 100644 --- a/init.sh +++ b/init.sh @@ -21,21 +21,6 @@ echo " Monolog\Logger::INFO, " \ " ); " > config.php -if [ ! -z $RUN_ON_HTTP_PORT ]; then - # We need to create a Caddyfile that exposes this port - echo "http://:$RUN_ON_HTTP_PORT {\n" \ - " root * /www/public/\n" \ - " php_fastcgi localhost:9000\n" \ - " try_files {path} /index.php\n" \ - " file_server\n" \ - " header -Via {\n" \ - " defer\n" \ - " }\n" \ - "}\n" > Caddyfile - - echo "Configured an HTTP (unencrypted) webserver on port $RUN_ON_HTTP_PORT"; -fi - # Make cache folder mkdir cache