Skip to content

Will caching work for forward proxy? #125

@sorbing

Description

@sorbing

I try use Nuster as cache proxy for external forward proxy. But cache not saved on disk.

global
    nuster manager on
    master-worker
    nuster  cache on  data-size 1m  dir /tmp/nuster  clean-temp off
    nuster  nosql off
defaults
    mode http
    timeout client  30s
    timeout connect 30s
    timeout server  30s
    http-reuse always
frontend fe
    mode http
    bind *:8080
    default_backend forward_proxy
backend forward_proxy
    #mode http
    option http-buffer-request
    nuster cache on dir /tmp/nuster
    http-response set-header X-Nuster-Cache ON
    server s1 XXX.XXX.XXX.XXX:XXXXX

Proxy works but directory /tmp/nuster is always empty.
What am I doing wrong? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions