mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
change(docker): host fastapi over plain http
We don't need the https certificates being dealt with in the fastapi service; we will define our certificates in any frontend nginx running on top. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
d675c0dc26
commit
9f9b1c1732
2 changed files with 2 additions and 21 deletions
|
@ -23,7 +23,7 @@ http {
|
|||
|
||||
gzip on;
|
||||
|
||||
upstream hypercorn {
|
||||
upstream asgi_backend {
|
||||
server fastapi:8000;
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ http {
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_pass https://hypercorn;
|
||||
proxy_pass http://asgi_backend;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue