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:
parent
3074be4fd8
commit
6b5af33dd6
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue