From e5b6c1528b7f67e73644ac9eaa01f74487a743e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 9 Jul 2022 18:38:54 +0200 Subject: [PATCH] auth_header --- conf/nginx.conf | 7 ------- scripts/install | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3d9ed22..f17172c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,11 +11,4 @@ location / { proxy_http_version 1.1; proxy_set_header Connection "upgrade"; proxy_set_header Upgrade $http_upgrade; - - # setup for image upload - client_max_body_size 256M; - proxy_max_temp_file_size 1024M; - - proxy_read_timeout 300; - proxy_connect_timeout 300; } diff --git a/scripts/install b/scripts/install index 19a5bc4..e273fa9 100755 --- a/scripts/install +++ b/scripts/install @@ -172,7 +172,7 @@ then fi # Only the admin can access the admin panel of the app (if the app has an admin panel) -ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin +ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin --auth_header=false # Everyone can access the API part # We don't want to display the tile in the SSO so we put --show_tile="false"