diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c9464adc..2c77bd52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: check-latest: true go-version-file: 'go.mod' @@ -47,7 +47,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Artifact - Linux amd64 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: "!startsWith(github.ref, 'refs/tags/')" with: name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}-linux-amd64 @@ -55,7 +55,7 @@ jobs: ./dist/default_linux_amd64_v1/${{ env.APP_NAME }} - name: Upload Artifact - Linux arm64 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: "!startsWith(github.ref, 'refs/tags/')" with: name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}-linux-arm64 @@ -63,7 +63,7 @@ jobs: ./dist/default_linux_arm64/${{ env.APP_NAME }} - name: Upload Artifact - Darwin arm64 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: "!startsWith(github.ref, 'refs/tags/')" with: name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}-darwin-arm64 @@ -71,7 +71,7 @@ jobs: ./dist/default_darwin_arm64/${{ env.APP_NAME }} - name: Upload Artifact - Windows amd64 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: "!startsWith(github.ref, 'refs/tags/')" with: name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}-windows-amd64 diff --git a/config/glider.conf.example b/config/glider.conf.example index 2e19afd8..35fa6c15 100644 --- a/config/glider.conf.example +++ b/config/glider.conf.example @@ -32,16 +32,17 @@ verbose=True # different protocols. # listen on 8443, serve as http/socks5 proxy on the same port. -listen=:8443 +# listen=:8443 +listen=127.0.0.1:8443 # listen on 8448 as a ss server. # listen=ss://AEAD_CHACHA20_POLY1305:pass@:8448 # listen on 8080 as a http proxy server. -listen=http://:8080 +# listen=http://:8080 # listen on 1080 as a socks5 proxy server. -listen=socks5://:1080 +# listen=socks5://:1080 # listen on 1234 as vless proxy server. # listen=vless://uuid@:1234 @@ -222,7 +223,7 @@ checkdisabledonly=false # we can specify different upstream dns server in rule file for different destinations. # Setup a dns forwarding server -dns=:53 +# dns=:53 # global remote dns server (you can specify different dns server in rule file) dnsserver=8.8.8.8:53 @@ -279,7 +280,7 @@ dnsrecord=www.example.com/2606:2800:220:1:248:1893:25c8:1946 # Specify additional forward rules. # # specify rules folder, so all *.rule files under this folder will be parsed as rule file -rules-dir=rules.d +# rules-dir=rules.d # # specify a rule file #rulefile=office.rule