mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
parent
bb40c91db7
commit
e04ee9c0f2
2 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
location PATHTOCHANGEstatic/ {
|
||||
location PATHTOCHANGE/static/ {
|
||||
alias /opt/yunohost/ihatemoney/src/budget/static/;
|
||||
}
|
||||
location PATHTOCHANGE {
|
||||
|
|
|
@ -100,6 +100,9 @@ fi
|
|||
|
||||
# Configure Nginx and reload
|
||||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||
# Fix double-slash for domain-root install
|
||||
sed -i "s@location //@location /@" ../conf/nginx.conf
|
||||
|
||||
sudo install -o root -g root -m644 \
|
||||
../conf/nginx.conf /etc/nginx/conf.d/$domain.d/ihatemoney.conf
|
||||
|
||||
|
|
Loading…
Reference in a new issue