├── minor ├── patch ├── hash ├── action.yml ├── Dockerfile ├── .github └── workflows │ ├── test.yml │ └── build.yml ├── SECURITY.md ├── README.md └── LICENSE /minor: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /patch: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /hash: -------------------------------------------------------------------------------- 1 | 12827816 2 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | name: build 2 | runs: 3 | using: docker 4 | image: Dockerfile 5 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:bookworm 2 | COPY build.sh /build.sh 3 | ENTRYPOINT ["bash", "/build.sh"] 4 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: test 2 | on: 3 | push: 4 | branches-ignore: [main] 5 | paths: 6 | - "**.sh" 7 | - Dockerfile 8 | workflow_dispatch: 9 | jobs: 10 | test: 11 | runs-on: ubuntu-latest 12 | name: test 13 | steps: 14 | - name: Checkout 15 | uses: actions/checkout@v4 16 | - name: Build 17 | uses: ./ 18 | - name: Upload 19 | uses: actions/upload-artifact@v4 20 | with: 21 | name: v8.${{ env.minor }}.${{ env.patch }} 22 | path: /home/runner/work/_temp/_github_home/nginx 23 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## NO WARRANTY 4 | 5 | THE SERVICE AND ANY RELATED SERVICES ARE PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS, WITHOUT WARRANTY OF ANY KIND, WHETHER WRITTEN OR ORAL, EXPRESS OR IMPLIED. I DISCLAIM ALL IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO ALL WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. I DO NOT REPRESENT OR WARRANT THAT THE SERVICE WILL MEET CLIENT'S NEEDS OR REQUIREMENTS, THAT ANY INFORMATION OBTAINED THROUGH USE OF THE SERVICE WILL BE ACCURATE OR RELIABLE, THAT USE OF THE SERVICE WILL BE UNINTERRUPTED, TIMELY, SECURE OR FREE FROM ERROR, OR THAT ALL DEFECTS IN THE SERVICE WILL BE CORRECTED. 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # nginx-quictls 2 | 3 | Similar to [nginx-http3](https://github.com/ononoki1/nginx-http3), except that it only provides a single binary `nginx` instead of Debian package. 4 | 5 | ## Distribution switch notice 6 | 7 | According to [Debian Wiki](https://wiki.debian.org/DebianReleases), Debian bullseye will reach its end-of-life date in July 2024. Therefore, the project will switch to Debian bookworm as the packaging environment in June 2024. 8 | 9 | **Update:** already switched on June 25th. 10 | 11 | ## Usage 12 | 13 | First, install NGINX from [nginx-http3](https://github.com/ononoki1/nginx-http3), [Debian's official package](https://packages.debian.org/bookworm/nginx) or [NGINX's official package](https://nginx.org/en/linux_packages.html#Debian). Then run following commands. 14 | 15 | ```bash 16 | sudo systemctl stop nginx 17 | sudo wget https://github.com/ononoki1/nginx-quictls/releases/latest/download/nginx -O /usr/sbin/nginx 18 | sudo chmod +x /usr/sbin/nginx 19 | sudo systemctl start nginx 20 | ``` 21 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Xuechen Xu 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: build 2 | on: 3 | schedule: 4 | - cron: "0 0 * * *" 5 | push: 6 | branches: [main] 7 | paths: 8 | - "**.sh" 9 | - Dockerfile 10 | workflow_dispatch: 11 | jobs: 12 | build: 13 | runs-on: ubuntu-latest 14 | name: build 15 | steps: 16 | - name: Checkout 17 | uses: actions/checkout@v4 18 | - name: Build 19 | uses: ./ 20 | - name: Upload 21 | uses: actions/upload-artifact@v4 22 | with: 23 | name: v8.${{ env.minor }}.${{ env.patch }} 24 | path: /home/runner/work/_temp/_github_home/nginx 25 | - name: Update 26 | if: ${{ env.change }} 27 | uses: stefanzweifel/git-auto-commit-action@v5 28 | with: 29 | commit_message: Update hash and version 30 | - name: Release 31 | if: ${{ env.change }} 32 | uses: softprops/action-gh-release@v1 33 | with: 34 | files: /home/runner/work/_temp/_github_home/nginx 35 | body: "Size: ${{ env.hash }}" 36 | tag_name: v8.${{ env.minor }}.${{ env.patch }} 37 | generate_release_notes: false 38 | --------------------------------------------------------------------------------