mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Update install
This commit is contained in:
parent
fee26785be
commit
5a0f8811d5
1 changed files with 7 additions and 2 deletions
|
@ -53,8 +53,13 @@ sudo cp ../conf/searx.ini /etc/uwsgi/apps-available/
|
|||
sudo ln -s /etc/uwsgi/apps-available/searx.ini /etc/uwsgi/apps-enabled/
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sudo sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/searx.conf
|
||||
sudo sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf*
|
||||
if [ $path != "/" ];
|
||||
then
|
||||
sudo cp ../conf/nginx.conf-noroot /etc/nginx/conf.d/$domain.d/searx.conf
|
||||
else
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/searx.conf
|
||||
fi
|
||||
|
||||
# Fix permission
|
||||
#sudo chmod 755 /etc/searx/
|
||||
|
|
Loading…
Reference in a new issue