added piped

This commit is contained in:
2023-11-06 14:05:07 -06:00
parent 28d5d79dd4
commit 3e9875aa54
8 changed files with 203 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
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 pipedapi.akanealw.com;
set $backend "http://piped:8080";
location / {
proxy_cache pipedapi;
proxy_pass $backend;
proxy_http_version 1.1;
proxy_set_header Connection "keep-alive";
}
}