blob: de64ad460fcf0ae426f61a63d61e2413e60d850b [file] [log] [blame]
Sergio Slobodrian84d4ae22017-04-24 12:39:08 -04001location /docker {
2 proxy_pass http://api-docker/;
3 proxy_http_version 1.1;
4 proxy_set_header Connection "";
5 rewrite /docker/(.*) /$1 break;
6 #sub_filter "/ui" "/consul/ui";
7 #sub_filter "/v1" "/consul/v1";
8 #sub_filter "//" "/";
9 sub_filter "href='" "href='docker/";
10 sub_filter 'href="' 'href="docker/';
11 sub_filter "src='" "src='docker/";
12 sub_filter 'src="' 'src="docker/';
13 sub_filter "images/logo.png" "docker/images/logo.png";
14 #sub_filter "/api/v1" "/swagger/api/v1";
15 sub_filter_once off;
16 proxy_next_upstream error timeout invalid_header http_500;
17}
18