home · contact · privacy
55edd39fef3f38305b3f915aa13a378e30ddacfb
[config] / all_new_2018 / setup_web.sh
1 #!/bin/sh
2 set -e
3
4 ./hardlink_etc.sh web
5 sed -i "s/REPLACE_fqdn_ECALPER/$(hostname -f)/g" /etc/nginx/nginx.conf
6 sed -i "s/REPLACE_fqdn_ECALPER/$(hostname -f)/g" /etc/gitweb.conf
7 apt -y -o Dpkg::Options::=--force-confold install nginx gitweb fcgiwrap
8 iptables-restore /etc/iptables/rules.v4