If you want to run your web-server on 80 port you'll need to bind your server to another port, like 8080 and configure iptables redirect from 80 port to 8080
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080
Don't forget to install iptables-persistent package, otherwise iptables settings will be lost after reboot
Комментариев нет:
Отправить комментарий