hyperpiped/conf/piped/frontend.conf

23 lines
561 B
Plaintext

# 2023-10-13
server {
listen 80;
server_name piped.domain.com;
set $backend "http://xxx.xxx.xxx.xxx:8302";
aio threads=default;
location ~* \.(jpg|jpeg|png|gif|ico)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}
location / {
aio threads=default;
proxy_pass $backend;
proxy_http_version 1.1;
proxy_set_header Connection "keep-alive";
}
}