diff --git a/install-new-server.sh b/install-new-server.sh index a58d42c..89738e9 100644 --- a/install-new-server.sh +++ b/install-new-server.sh @@ -55,3 +55,15 @@ npm install -g http-server 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 diff --git a/nginx-conf/README.md b/nginx-conf/README.md index f29a7f6..1ced519 100644 --- a/nginx-conf/README.md +++ b/nginx-conf/README.md @@ -9,10 +9,6 @@ server { 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; } } ```