XTREAM UI ISP API script

1. Put file
api.php
apibackup.txt
errors.txt
in /home/xtreamcodes/iptv_xtream_codes/isp

2. SETUP NGINX

In config file find /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf
and add this

server {
listen 8805;
root /home/xtreamcodes/iptv_xtream_codes/isp/;

location ~ \.php$ {
allow 127.0.0.1;
deny all;
limit_req zone=one burst=8;
try_files $uri =404;
fastcgi_index index.php;
fastcgi_pass php;
include fastcgi_params;
fastcgi_buffering on;
fastcgi_buffers 96 32k;
fastcgi_buffer_size 32k;
fastcgi_max_temp_file_size 0;
fastcgi_keep_conn on;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
}

on server Isp Advaced set ISP Port on 8805

Sometimes need reboot service
I suggest you console type this command
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
https://www.mediafire.com/file/ol3sx...P+API.rar/file

Displays the provider name on the Xtream panel. Enables ISP line lock. You have a screenshot of what it looks like


thx to serdar7878