Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit f94891b

Browse files
committed
removed backend from nginx config
1 parent 99292dd commit f94891b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

nginx/ci/ci.conf

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,12 @@ http {
4343
# # proxy_redirect off;
4444
# }
4545

46-
# backend urls
47-
location ~ ^/(admin|api|media|static) {
48-
resolver 127.0.0.1 valid=30s;
49-
proxy_redirect off;
50-
set $backend backend;
51-
proxy_pass http://$backend:8000;
52-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
53-
proxy_set_header Host $http_host;
54-
}
46+
# # backend urls
47+
# location ~ ^/(admin|api|media|static) {
48+
# proxy_redirect off;
49+
# proxy_pass http://backend;
50+
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
51+
# proxy_set_header Host $http_host;
52+
# }
5553
}
5654
}

0 commit comments

Comments
 (0)