neb/servers/link/docker-compose.d/custom/nginx/conf.d/ntfy.conf
2023-10-20 07:31:46 +02:00

24 lines
No EOL
621 B
Text

server {
listen 80;
server_name push.ixvd.net;
location / {
proxy_pass http://ntfy$request_uri;
proxy_http_version 1.1;
proxy_buffering off;
proxy_request_buffering off;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 3m;
proxy_send_timeout 3m;
proxy_read_timeout 3m;
client_max_body_size 0; # Stream request body to backend
}
}