install script add nginx & certbot
arnaucube root@arnaucube.com
Sun, 22 Sep 2019 13:21:20 +0200
2 files changed,
12 insertions(+),
4 deletions(-)
M
install-new-server.sh
→
install-new-server.sh
@@ -55,3 +55,15 @@
echo "installing fzf fuzzy finder" git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf ~/.fzf/install + + +# nginx +apt install nginx -y + +# certbot +apt-get update +apt-get install software-properties-common -y +add-apt-repository universe -y +add-apt-repository ppa:certbot/certbot -y +apt-get update +apt-get install certbot python-certbot-nginx -y
M
nginx-conf/README.md
→
nginx-conf/README.md
@@ -9,10 +9,6 @@ server_name sub.domain.com;
location / { proxy_pass http://localhost:PORT; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_read_timeout 86400; } } ```