Scripts for setting up nginx

This commit is contained in:
m8in
2025-11-27 21:25:40 +01:00
parent 7924132c3f
commit 3fa0234b75
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
nginx -t &> /dev/null \
&& systemctl restart nginx.service \
&& exit 0
exit 1