Skip to content

Commit

Permalink
Previews fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yamax2 committed Aug 12, 2021
1 parent 86b5342 commit 0581da7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/photostorage/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ server {
proxy_hide_header "Set-Cookie";
}

location ~ ^/proxy/yandex/(previews/|.+.gpx$) {
location ~ ^/proxy/yandex/(previews/|resize/|.+.gpx$) {
proxy_pass http://$PROXY_HOST:9000;
proxy_cache_valid 90d;

Expand Down
2 changes: 1 addition & 1 deletion proxy_service/internal/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var (
nodes map[int64]Node
mx sync.RWMutex
httpClient = http.Client{
Timeout: time.Duration(5 * time.Second),
Timeout: time.Duration(30 * time.Second),
}
)

Expand Down

0 comments on commit 0581da7

Please sign in to comment.