From e5d131e1be625529086b573c476aefb774f3f047 Mon Sep 17 00:00:00 2001 From: anmol Date: Sun, 4 Nov 2018 19:16:21 +0530 Subject: [PATCH] Removed nginx cache --- conf/nginx.conf | 7 ------- scripts/install | 2 +- scripts/remove | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 21d0c53..8237e6d 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -30,10 +30,3 @@ client_max_body_size 16m; } - - location /proxy { - proxy_cache pleroma_media_cache; - proxy_cache_lock on; - proxy_ignore_client_abort on; - proxy_pass http://localhost:__PORT__; - } diff --git a/scripts/install b/scripts/install index 0f58064..667b2bb 100755 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,7 @@ ynh_app_setting_set "$app" port "$port" # install dependencies ynh_install_app_dependencies git build-essential postgresql postgresql-contrib openssl g++ apt-transport-https wget -P /tmp/ https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i /tmp/erlang-solutions_1.0_all.deb -apt update && apt install elixir erlang-dev erlang-parsetools erlang-xmerl erlang-tools +apt-get update && apt-get -y install elixir erlang-dev erlang-parsetools erlang-xmerl erlang-tools #================================================= # DATABASE SETUP diff --git a/scripts/remove b/scripts/remove index 2d718f3..fbcd034 100755 --- a/scripts/remove +++ b/scripts/remove @@ -26,7 +26,7 @@ final_path=$(ynh_app_setting_get "$app" final_path) #================================================= # Remove metapackage and its dependencies ynh_remove_app_dependencies -apt update && apt remove elixir erlang-dev erlang-parsetools erlang-xmerl erlang-tools +apt-get update && apt-get -y remove elixir erlang-dev erlang-parsetools erlang-xmerl erlang-tools #================================================= # REMOVE THE MYSQL DATABASE