1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/taskboard_ynh.git synced 2024-09-03 20:26:27 +02:00
This commit is contained in:
ericgaspar 2021-08-30 17:35:00 +02:00
parent 799bec3ca0
commit b9af1c949f
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 1 deletions

View file

@ -13,6 +13,8 @@ location __PATH__/ {
client_max_body_size 100M; client_max_body_size 100M;
client_body_buffer_size 128k; client_body_buffer_size 128k;
proxy_set_header Authorization $http_authorization;
proxy_pass_header Authorization;
try_files $uri $uri/ @__NAME__; try_files $uri $uri/ @__NAME__;

View file

@ -70,7 +70,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
ynh_setup_source --dest_dir="$final_path" ynh_setup_source --dest_dir="$final_path"
chmod 750 "$final_path" chmod 750 "$final_path"
chmod 766 "$final_path/api" chmod 777 "$final_path/api"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"