1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00

Adjust nginx access to 644

This commit is contained in:
polytan02 2017-02-17 19:09:16 +00:00
parent 3074be4fd8
commit 6b5af33dd6
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ sed -i "s@NAMETOCHANGE@$app@g" ../conf/nginx.conf
nginxconf=/etc/nginx/conf.d/$domain.d/$app.conf nginxconf=/etc/nginx/conf.d/$domain.d/$app.conf
sudo cp ../conf/nginx.conf $nginxconf sudo cp ../conf/nginx.conf $nginxconf
sudo chown root: $nginxconf sudo chown root: $nginxconf
sudo chmod 600 $nginxconf sudo chmod 644 $nginxconf
# Add dedicated php-fpm to be able to upload bigger database # Add dedicated php-fpm to be able to upload bigger database
sed -i "s@NAMETOCHANGE@$app@g" ../conf/php-fpm.conf sed -i "s@NAMETOCHANGE@$app@g" ../conf/php-fpm.conf

View file

@ -56,7 +56,7 @@ sed -i "s@NAMETOCHANGE@$app@g" ../conf/nginx.conf
nginxconf=/etc/nginx/conf.d/$domain.d/$app.conf nginxconf=/etc/nginx/conf.d/$domain.d/$app.conf
sudo cp ../conf/nginx.conf $nginxconf sudo cp ../conf/nginx.conf $nginxconf
sudo chown root: $nginxconf sudo chown root: $nginxconf
sudo chmod 600 $nginxconf sudo chmod 644 $nginxconf
# Add dedicated php-fpm to be able to upload bigger database # Add dedicated php-fpm to be able to upload bigger database
sed -i "s@NAMETOCHANGE@$app@g" ../conf/php-fpm.conf sed -i "s@NAMETOCHANGE@$app@g" ../conf/php-fpm.conf