Skip to content

Commit

Permalink
Merge pull request #61 from ElRoberto538/update_subfilter_https
Browse files Browse the repository at this point in the history
Added https subfilter to nginx.conf.template.
  • Loading branch information
ellenhp authored Jun 12, 2022
2 parents 6f8d8d0 + bd5d728 commit 7171e3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ http {
proxy_set_header Host "magic_string_magic";
sub_filter_types application/json;
sub_filter_once off;
sub_filter_last_modified on;
sub_filter 'http://magic_string_magic' '${HEADWAY_PUBLIC_URL}';
sub_filter 'https://magic_string_magic' '${HEADWAY_PUBLIC_URL}';
proxy_pass ${HEADWAY_TILESERVER_URL}/data/;
}
location /styles/ {
Expand All @@ -60,7 +62,9 @@ http {
proxy_set_header Host "magic_string_magic";
sub_filter_types application/json;
sub_filter_once off;
sub_filter_last_modified on;
sub_filter 'http://magic_string_magic' '';
sub_filter 'https://magic_string_magic' '';
proxy_pass ${HEADWAY_TILESERVER_URL};
}
location /style/ {
Expand Down

0 comments on commit 7171e3f

Please sign in to comment.