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