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

Merge pull request #3 from YunoHost-Apps/master

update
This commit is contained in:
nemsia 2017-04-24 23:59:53 +02:00 committed by GitHub
commit 838f971cf4
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,6 @@
# upload max size
client_max_body_size 100M;
location / {
if ($scheme = http) {
@ -37,4 +40,4 @@ location /api/v1/streaming {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
tcp_nodelay on;
}
}

View file

@ -32,6 +32,7 @@ db_name=$app
# Modify Nginx configuration file and copy it to Nginx conf directory
sudo sed -i "s@__PATH__@$app@g" ../conf/nginx.conf*
sudo sed -i "s@__FINALPATH__@$final_path/@g" ../conf/nginx.conf*
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
# Stop Mastodon Services
sudo systemctl stop mastodon-*.service