File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ server {
22
22
# Caching data from the API
23
23
location /api/ {
24
24
proxy_ssl_server_name on;
25
- proxy_pass http://{ENVIRONMENT}-django/ ;
25
+ proxy_pass http://{ENVIRONMENT}-django;
26
26
proxy_connect_timeout 5s;
27
27
proxy_cache_background_update on;
28
28
proxy_cache_lock on;
Original file line number Diff line number Diff line change @@ -76,20 +76,6 @@ http {
76
76
add_header X-Proxy-Cache $upstream_cache_status;
77
77
}
78
78
79
- # Reverse proxy to ${DRIVEBC_IMAGE_BASE_URL} bchighwaycamp url
80
- location /bchighwaycam/ {
81
- proxy_ssl_server_name on;
82
- proxy_pass ${DRIVEBC_IMAGE_BASE_URL};
83
- proxy_connect_timeout 5s;
84
- proxy_cache_background_update on;
85
- proxy_cache_lock on;
86
- proxy_cache_lock_age 10s;
87
- proxy_cache_lock_timeout 10s;
88
- proxy_cache_revalidate on;
89
- proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
90
- proxy_cache_valid 200 1m;
91
- add_header X-Proxy-Cache $upstream_cache_status;
92
- }
93
79
error_page 404 /404.html;
94
80
location = /40x.html {
95
81
}
You can’t perform that action at this time.
0 commit comments