From 6d97b954cbbc097ecefcbaa1b67556394ee5f742 Mon Sep 17 00:00:00 2001 From: titanz Date: Wed, 30 Apr 2025 16:00:45 +0200 Subject: [PATCH] Remove unnecessary commands --- setup.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/setup.sh b/setup.sh index b406824..175d3ad 100644 --- a/setup.sh +++ b/setup.sh @@ -74,12 +74,6 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/main sudo chmod 644 /srv/nginx/ads.txt /srv/nginx/app-ads.txt /srv/nginx/robots.txt sudo restorecon -Rv "$(realpath /srv/nginx)" -# NGINX hardening -sudo mkdir -p /etc/systemd/system/nginx.service.d -unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/nginx.service.d/local.conf | sudo tee /etc/systemd/system/nginx.service.d/override.conf > /dev/null -sudo chmod 644 /etc/systemd/system/nginx.service.d/override.conf -sudo systemctl daemon-reload - # Setup nginx-create-session-ticket-keys sudo mkdir -p /etc/nginx/session-ticket-keys