From 7e2e5398b2880d19b4311e5aed1b6f987f66ea26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 20 Dec 2023 09:28:22 +0100 Subject: [PATCH] cleaning --- conf/config.php | 2 +- conf/nginx.conf | 4 ++-- manifest.toml | 6 ------ 3 files changed, 3 insertions(+), 9 deletions(-) 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"