Add missing sudo
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
b6482df91f
commit
8689195fdb
2
setup.sh
2
setup.sh
@ -72,7 +72,7 @@ sudo chmod -R 755 /srv/nginx/.well-known/acme-challenge
|
|||||||
# NGINX hardening
|
# NGINX hardening
|
||||||
sudo mkdir -p /etc/systemd/system/nginx.service.d
|
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
|
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
|
||||||
chmod 644 /etc/systemd/system/nginx.service.d/override.conf
|
sudo chmod 644 /etc/systemd/system/nginx.service.d/override.conf
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
|
|
||||||
# Setup nginx-create-session-ticket-keys
|
# Setup nginx-create-session-ticket-keys
|
||||||
|
Loading…
x
Reference in New Issue
Block a user