Browse Source

small changes

master
mortie 6 years ago
parent
commit
991079028b
6 changed files with 3 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 2
    0
      core/nginx.sh
  3. 0
    0
      example-conf/nginx/basic.m4
  4. 0
    0
      example-conf/nginx/main.m4
  5. 0
    0
      example-conf/nginx/shared.m4
  6. 0
    0
      example-conf/ssl.conf

+ 1
- 0
.gitignore View File

@@ -1,2 +1,3 @@
conf
core/certbot
nginx-error.conf

+ 2
- 0
core/nginx.sh View File

@@ -16,7 +16,9 @@ echo "$output" \
| tee "$out" >/dev/null

if ! sudo nginx -t; then
cp "$out" "../nginx-error.conf"
echo "Reverting to backup file."
echo "Bad file saved to nginx-error.conf."
mv "$out.bak" "$out"
else
echo "Press enter to restart nginx."

conf.example/nginx/basic.m4 → example-conf/nginx/basic.m4 View File


conf.example/nginx/main.m4 → example-conf/nginx/main.m4 View File


conf.example/nginx/shared.m4 → example-conf/nginx/shared.m4 View File


conf.example/ssl.conf → example-conf/ssl.conf View File


Loading…
Cancel
Save