From 808fa2a92f45e92ae4c47ce91c1eae88ed29d3df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 5 Jun 2023 10:51:34 +0200 Subject: [PATCH] v2 --- conf/default.env | 2 +- conf/nginx.conf | 1 + manifest.toml | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/default.env b/conf/default.env index 23d41b0..c2115e9 100644 --- a/conf/default.env +++ b/conf/default.env @@ -12,7 +12,7 @@ DB_CONNECTION=mysql DB_STRICT=false DB_HOST=localhost DB_DATABASE=__DB_NAME__ -DB_USERNAME=__DB_NAME__ +DB_USERNAME=__DB_USER__ DB_PASSWORD=__DB_PWD__ DB_PORT=3306 diff --git a/conf/nginx.conf b/conf/nginx.conf index 6f112b3..047383d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,6 +15,7 @@ location ^~ __PATH__/ { more_set_headers "Referrer-Policy: no-referrer"; index index.php index.html index.htm; + client_max_body_size 50M; if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q= last; diff --git a/manifest.toml b/manifest.toml index d2edcf6..13e6c73 100644 --- a/manifest.toml +++ b/manifest.toml @@ -65,8 +65,6 @@ ram.runtime = "50M" [resources.install_dir] - [resources.data_dir] - [resources.permissions] main.url = "/"