1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Removed nginx cache

This commit is contained in:
anmol 2018-11-04 19:16:21 +05:30
parent 279defdb64
commit e5d131e1be
3 changed files with 2 additions and 9 deletions

View file

@ -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__;
}

View file

@ -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

View file

@ -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