fix: making v2 APIs work for HTTPS

This commit is contained in:
Aditya
2023-11-13 14:21:41 +05:30
parent 72e951446e
commit 56a4c388aa
+1 -1
View File
@@ -111,7 +111,7 @@ http {
}
# Get the hostname from environment here?
location /api/v1 {
location ~ /api/v(1|2) {
proxy_pass http://{{ getenv "BACKEND_HOSTNAME" "shuffle-backend" }}:5001;
proxy_buffering off;
proxy_http_version 1.1;