1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/processwire_ynh.git synced 2024-09-03 20:06:37 +02:00
This commit is contained in:
Éric Gaspar 2023-12-20 09:28:22 +01:00
parent 474e3027bf
commit 7e2e5398b2
3 changed files with 3 additions and 9 deletions

View file

@ -936,7 +936,7 @@ $config->fileCompilerOptions = array(
* @var array * @var array
* *
*/ */
$config->httpHosts = array(); $config->httpHosts = array(__DOMAIN__);
/** /**
* Runtime HTTP host * Runtime HTTP host

View file

@ -4,12 +4,12 @@ location __PATH__/ {
# Path to source # Path to source
alias __INSTALL_DIR__/; 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 # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 100M; 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(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;

View file

@ -41,12 +41,6 @@ ram.runtime = "50M"
type = "group" type = "group"
default = "visitors" default = "visitors"
[install.admin]
type = "user"
[install.password]
type = "password"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/processwire/processwire/archive/refs/tags/3.0.227.zip" url = "https://github.com/processwire/processwire/archive/refs/tags/3.0.227.zip"