arnaucube
arnaucube/configsPublic Self-hosted repository
install script add nginx & certbot
arnaucube root@arnaucube.com
Sun, 22 Sep 2019 13:21:20 +0200
commit

a423155cd8f0cb45876847848e5f2256f24b4ea5

parent

f62633a789c4f8cb3b273c026a3752d0212020ea

2 files changed, 12 insertions(+), 4 deletions(-)

jump to
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; } } ```