Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e13bbedda8 |
+1
-8
@@ -6,18 +6,11 @@
|
|||||||
|
|
||||||
:80 {
|
:80 {
|
||||||
handle /api/* {
|
handle /api/* {
|
||||||
reverse_proxy fastapi:8000 {
|
reverse_proxy fastapi:8000
|
||||||
transport http {
|
|
||||||
tls_insecure_skip_verify
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
handle {
|
handle {
|
||||||
reverse_proxy frontend:80 {
|
reverse_proxy frontend:80 {
|
||||||
header_up X-Real-IP {remote_host}
|
header_up X-Real-IP {remote_host}
|
||||||
transport http {
|
|
||||||
tls_insecure_skip_verify
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user