Skip to content

Commit e175d94

Browse files
committed
Fix URL
also removed bchighwaycam from image caching again
1 parent c8d89fa commit e175d94

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

compose/frontend/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ server {
2222
# Caching data from the API
2323
location /api/ {
2424
proxy_ssl_server_name on;
25-
proxy_pass http://{ENVIRONMENT}-django/;
25+
proxy_pass http://{ENVIRONMENT}-django;
2626
proxy_connect_timeout 5s;
2727
proxy_cache_background_update on;
2828
proxy_cache_lock on;

src/caching/nginx.conf.template

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,6 @@ http {
7676
add_header X-Proxy-Cache $upstream_cache_status;
7777
}
7878

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-
}
9379
error_page 404 /404.html;
9480
location = /40x.html {
9581
}

0 commit comments

Comments
 (0)