mirror of
https://github.com/YunoHost-Apps/yacy_ynh.git
synced 2024-09-03 18:05:59 +02:00
forward port 80 to 8090
This commit is contained in:
parent
89bd6761ed
commit
fb185ba31d
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
|||
sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/yacy.conf
|
||||
|
||||
# Forward port 80 to 8090
|
||||
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8090
|
||||
|
||||
# Reload Nginx and regenerate SSOwat conf
|
||||
sudo service nginx reload
|
||||
sudo yunohost app ssowatconf
|
||||
|
|
Loading…
Add table
Reference in a new issue