diff --git a/.github/workflows/nginx.conf-test.yaml b/.github/workflows/nginx.conf-test.yaml new file mode 100644 index 0000000000..328c593de2 --- /dev/null +++ b/.github/workflows/nginx.conf-test.yaml @@ -0,0 +1,24 @@ +name: Nginx configuration test + +on: + pull_request: + paths: + - nginx.conf + +jobs: + nginx-test-job: + runs-on: ubuntu-latest + container: + image: docker.io/library/nginx:1.28.0-alpine-slim + steps: + - name: Checkout repository + uses: actions/checkout@v5 + - name: Test Nginx configuration + run: | + cat > default.conf <