mirror of
https://github.com/yusing/godoxy.git
synced 2025-07-11 16:44:03 +02:00
removed default values
This commit is contained in:
parent
64584c73b2
commit
0bbadc6d6d
2 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
image: ghcr.io/yusing/go-proxy-frontend:latest
|
image: ghcr.io/yusing/go-proxy-frontend:latest
|
||||||
|
@ -27,14 +28,15 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./config:/app/config
|
- ./config:/app/config
|
||||||
|
- ./error_pages:/app/error_pages
|
||||||
|
|
||||||
# (Optional) choose one of below to enable https
|
# (Optional) choose one of below to enable https
|
||||||
# 1. use existing certificate
|
# 1. use existing certificate
|
||||||
# if your cert is not named `cert.crt` change `cert_path` in `config/config.yml`
|
|
||||||
# if your cert key is not named `priv.key` change `key_path` in `config/config.yml`
|
|
||||||
|
|
||||||
# - /path/to/certs:/app/certs
|
# - /path/to/certs/cert.crt:/app/certs/cert.crt
|
||||||
|
# - /path/to/certs/priv.key:/app/certs/priv.key
|
||||||
|
|
||||||
# 2. use autocert, certs will be stored in ./certs (or other path you specify)
|
# 2. use autocert, certs will be stored in ./certs
|
||||||
|
# you can also use a docker volume to store it
|
||||||
|
|
||||||
# - ./certs:/app/certs
|
# - ./certs:/app/certs
|
||||||
|
|
|
@ -30,8 +30,6 @@ type (
|
||||||
var (
|
var (
|
||||||
RateLimiter = &Middleware{withOptions: NewRateLimiter}
|
RateLimiter = &Middleware{withOptions: NewRateLimiter}
|
||||||
rateLimiterOptsDefault = rateLimiterOpts{
|
rateLimiterOptsDefault = rateLimiterOpts{
|
||||||
Average: 100,
|
|
||||||
Burst: 1,
|
|
||||||
Period: time.Second,
|
Period: time.Second,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue