mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
update config example
This commit is contained in:
parent
5a9fc3ad18
commit
bc2335a54e
1 changed files with 8 additions and 0 deletions
|
@ -22,14 +22,22 @@
|
|||
|
||||
entrypoint:
|
||||
middlewares:
|
||||
# this part blocks all non-LAN HTTP traffic
|
||||
# remove if you don't want this
|
||||
- use: CIDRWhitelist
|
||||
allow:
|
||||
- "127.0.0.1"
|
||||
- "10.0.0.0/8"
|
||||
- "172.16.0.0/12"
|
||||
- "192.168.0.0/16"
|
||||
status: 403
|
||||
message: "Forbidden"
|
||||
# end of CIDRWhitelist
|
||||
|
||||
# this part redirects HTTP to HTTPS
|
||||
# remove if you don't want this
|
||||
- use: RedirectHTTP
|
||||
|
||||
# access_log:
|
||||
# buffer_size: 1024
|
||||
# path: /var/log/example.log
|
||||
|
|
Loading…
Add table
Reference in a new issue