diff --git a/conf/config.php b/conf/config.php index 035dba4..4c1be94 100644 --- a/conf/config.php +++ b/conf/config.php @@ -936,7 +936,7 @@ $config->fileCompilerOptions = array( * @var array * */ -$config->httpHosts = array(); +$config->httpHosts = array(__DOMAIN__); /** * Runtime HTTP host diff --git a/conf/nginx.conf b/conf/nginx.conf index a792973..36f026b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,12 +4,12 @@ location __PATH__/ { # Path to source alias __INSTALL_DIR__/; - index index.php; + index index.php index.html; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 100M; - try_files $uri $uri/ /index.php?it=$uri&$args; + try_files $uri $uri/ /index.php?it=$uri&$args; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; diff --git a/manifest.toml b/manifest.toml index bec6a04..62041b3 100644 --- a/manifest.toml +++ b/manifest.toml @@ -41,12 +41,6 @@ ram.runtime = "50M" type = "group" default = "visitors" - [install.admin] - type = "user" - - [install.password] - type = "password" - [resources] [resources.sources.main] url = "https://github.com/processwire/processwire/archive/refs/tags/3.0.227.zip"