From 324ffdbd690b2ab62bfe6d25d614343256fec2a1 Mon Sep 17 00:00:00 2001 From: Jonathan Inge Arvesen Folland Date: Thu, 20 Mar 2025 15:15:26 +0100 Subject: [PATCH] Update update_primary_nginx.yml --- .github/workflows/update_primary_nginx.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_primary_nginx.yml b/.github/workflows/update_primary_nginx.yml index 9380dd8..f00daee 100644 --- a/.github/workflows/update_primary_nginx.yml +++ b/.github/workflows/update_primary_nginx.yml @@ -39,10 +39,14 @@ jobs: ./nginx_template.txt > temp_default.conf - name: Copy temporary file to correct place - run: sudo cp temp_default.conf /etc/nginx/conf.d/default.conf + run: | + sudo cp temp_default.conf /etc/nginx/conf.d/default.conf + sudo cp ./nginx_securefit.conf /etc/nginx/conf.d/nginx_securefit.conf - - name: Show nginx file - run: cat /etc/nginx/conf.d/default.conf + - name: Show nginx files + run: | + cat /etc/nginx/conf.d/default.conf + cat /etc/nginx/conf.d/nginx_securefit.conf - name: Reload nginx run: sudo nginx -s reload