mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-03 06:13:14 +00:00
docs(airflow): add debug guide on url generation (#7885)
Co-authored-by: Tamas Nemeth <treff7es@gmail.com>
This commit is contained in:
parent
71ecbd6060
commit
f314d896b9
@ -145,6 +145,17 @@ Take a look at this sample DAG:
|
|||||||
|
|
||||||
In order to use this example, you must first configure the Datahub hook. Like in ingestion, we support a Datahub REST hook and a Kafka-based hook. See step 1 above for details.
|
In order to use this example, you must first configure the Datahub hook. Like in ingestion, we support a Datahub REST hook and a Kafka-based hook. See step 1 above for details.
|
||||||
|
|
||||||
|
## Debugging
|
||||||
|
|
||||||
|
### Incorrect URLs
|
||||||
|
|
||||||
|
If your URLs aren't being generated correctly (usually they'll start with `http://localhost:8080` instead of the correct hostname), you may need to set the webserver `base_url` config.
|
||||||
|
|
||||||
|
```ini title="airflow.cfg"
|
||||||
|
[webserver]
|
||||||
|
base_url = http://airflow.example.com
|
||||||
|
```
|
||||||
|
|
||||||
## Additional references
|
## Additional references
|
||||||
|
|
||||||
Related Datahub videos:
|
Related Datahub videos:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user