Piped-Docker/template/pipedapi.conf

16 lines
379 B
Plaintext
Raw Permalink Normal View History

2022-08-07 06:59:23 +05:30
proxy_cache_path /tmp/pipedapi_cache levels=1:2 keys_zone=pipedapi:4m max_size=2g inactive=60m use_temp_path=off;
server {
listen 80;
server_name BACKEND_HOSTNAME;
2022-08-07 06:59:23 +05:30
set $backend "http://piped:8080";
location / {
2022-08-07 06:59:23 +05:30
proxy_cache pipedapi;
proxy_pass $backend;
proxy_http_version 1.1;
proxy_set_header Connection "keep-alive";
}
}