From 26644da8819445529c20d177ca4a1f1fdf2c6722 Mon Sep 17 00:00:00 2001 From: Jolan Date: Tue, 4 Mar 2025 15:22:41 +0100 Subject: [PATCH] fix: changed file name and last cmd nginx config to match exercises requirements --- .github/workflows/update_primary_nginx.yml | 4 ++-- nginx_secfit.conf => nginx_securefit.conf | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename nginx_secfit.conf => nginx_securefit.conf (100%) diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index a3477d9..6758242 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -38,7 +38,7 @@ jobs: - name: Copy variables to conf file run: | - sudo cp nginx_secfit.conf /etc/nginx/conf.d/nginx.conf + sudo cp ./nginx_securefit.conf /etc/nginx/conf.d/nginx.conf - name: Test setup run: | @@ -47,4 +47,4 @@ jobs: # Restarting nginx service - name: Restart nginx service run: | - sudo systemctl restart nginx + sudo systemctl reload nginx diff --git a/nginx_secfit.conf b/nginx_securefit.conf similarity index 100% rename from nginx_secfit.conf rename to nginx_securefit.conf