Skip to content

Commit

Permalink
chore: change config example to default listen on 127.0.0.1 (fix #391)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadoo committed Jan 29, 2024
1 parent 80a7d3b commit 6d2b1e9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -47,31 +47,31 @@ 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
path: |
./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
path: |
./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
path: |
./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
Expand Down
11 changes: 6 additions & 5 deletions config/glider.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6d2b1e9

Please sign in to comment.