2023-10-20 04:24:09 +02:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name push.ixvd.net;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://ntfy$request_uri;
|
2023-10-20 07:29:19 +02:00
|
|
|
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
|
2023-10-20 04:24:09 +02:00
|
|
|
}
|
|
|
|
}
|