chore: don't proxy the requests through cloudflare
This commit is contained in:
parent
5c906ac814
commit
a3cf21f5bd
1 changed files with 2 additions and 1 deletions
3
app.py
3
app.py
|
|
@ -87,6 +87,7 @@ class Observer:
|
||||||
).json()
|
).json()
|
||||||
except Exception:
|
except Exception:
|
||||||
return
|
return
|
||||||
|
|
||||||
dynamic_conf = {
|
dynamic_conf = {
|
||||||
'http': {
|
'http': {
|
||||||
'middlewares': runtime_conf.get('middlewares') or {},
|
'middlewares': runtime_conf.get('middlewares') or {},
|
||||||
|
|
@ -147,7 +148,7 @@ class Observer:
|
||||||
'comment': NODE_NAME,
|
'comment': NODE_NAME,
|
||||||
'content': EXTERNAL_HOST,
|
'content': EXTERNAL_HOST,
|
||||||
'type': 'A',
|
'type': 'A',
|
||||||
'proxied': True,
|
'proxied': False,
|
||||||
'name': x,
|
'name': x,
|
||||||
|
|
||||||
} for x in cls.external]
|
} for x in cls.external]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue