From 2a04f2a17075da4aad51cf33a849257fb27fd4e1 Mon Sep 17 00:00:00 2001 From: Cevin Dominic Neubauer Date: Wed, 5 Mar 2025 14:09:33 +0100 Subject: [PATCH] Update update_primary_nginx.yml --- .github/workflows/update_primary_nginx.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index 9733e17..a86bf75 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -1,4 +1,4 @@ -name: UNFINISHED - setup nginx from the configuration file +name: setup nginx from the configuration file on: workflow_dispatch: @@ -25,7 +25,10 @@ jobs: # Maybe look at https://www.baeldung.com/linux/envsubst-command to get an idea - name: Copy temporary file to correct place - run: cp temp_default.conf /etc/nginx/conf.d/default.conf + run: cp ./nginx/nginx.conf /etc/nginx/conf.d/nginx_securefit.conf - name: Show nginx file - run: cat /etc/nginx/conf.d/default.conf + run: cat /etc/nginx/conf.d/nginx_securefit.conf + + - name: Restart nginx + run: sudo systemctl reload nginx