Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Tutorial [X-UI]Enable folder for you separate webpage

Djotabr

Extended Member
Ext. Member
Joined
Oct 3, 2019
Messages
32
Reaction score
104
Points
44
Location
Brazil
This tutorial is for cases where you need to add a website for client access (lines) to download apk among other things.

Edit the nginx.conf File
in the folder: / home / xtreamcodes / iptv_xtream_codes / nginx / conf
find the line: 112
and paste this below:

[REPLYANDTHANKS]
PHP:
server {
        listen 80;
        index index.php index.html index.htm;
        root /home/xtreamcodes/iptv_xtream_codes/website/;

        location ~ \.php$ {
            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;
        }
    }


it should look something like this:

PHP:
user  xtreamcodes;
worker_processes  auto;

worker_rlimit_nofile 300000;
events {
    worker_connections  16000;
    use epoll;
    accept_mutex on;
    multi_accept on;
}
thread_pool pool_xtream threads=32 max_queue=0;
http {

    include       mime.types;
    default_type  application/octet-stream;

    sendfile           on;
    tcp_nopush         on;
    tcp_nodelay        on;
    reset_timedout_connection on;
    gzip off;
    fastcgi_read_timeout 200;
    access_log off;
    keepalive_timeout 10;
    include balance.conf;
    send_timeout 20m;
    sendfile_max_chunk 512k;
    lingering_close off;
    aio threads=pool_xtream;
    client_body_timeout 13s;
    client_header_timeout 13s;
    client_max_body_size 3m;

    limit_req_zone $binary_remote_addr zone=one:30m rate=20r/s;
    server {
        listen 25461;listen 25463 ssl;ssl_certificate server.crt;ssl_certificate_key server.key; ssl_protocols SSLv3 TLSv1.1 TLSv1.2;
        index index.php index.html index.htm;
        root /home/xtreamcodes/iptv_xtream_codes/wwwdir/;
        server_tokens off;
        chunked_transfer_encoding off;

        if ( $request_method !~ ^(GET|POST)$ ) {
            return 200;
        }

        rewrite_log on;
        rewrite ^/live/(.*)/(.*)/(.*)\.(.*)$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=$4 break;
        rewrite ^/movie/(.*)/(.*)/(.*)$ /streaming/clients_movie.php?username=$1&password=$2&stream=$3&type=movie break;
        rewrite ^/series/(.*)/(.*)/(.*)$ /streaming/clients_movie.php?username=$1&password=$2&stream=$3&type=series break;
        rewrite ^/(.*)/(.*)/(.*).ch$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=ts break;
        rewrite ^/(.*)\.ch$ /streaming/clients_live.php?extension=ts&stream=$1&qs=$query_string break;
        rewrite ^/ch(.*)\.m3u8$ /streaming/clients_live.php?extension=m3u8&stream=$1&qs=$query_string break;
        rewrite ^/hls/(.*)/(.*)/(.*)/(.*)/(.*)$ /streaming/clients_live.php?extension=m3u8&username=$1&password=$2&stream=$3&type=hls&segment=$5&token=$4 break;
        rewrite ^/hlsr/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)$ /streaming/clients_live.php?token=$1&username=$2&password=$3&segment=$6&stream=$4&key_seg=$5 break;
        rewrite ^/timeshift/(.*)/(.*)/(.*)/(.*)/(.*)\.(.*)$ /streaming/timeshift.php?username=$1&password=$2&stream=$5&extension=$6&duration=$3&start=$4 break;
        rewrite ^/timeshifts/(.*)/(.*)/(.*)/(.*)/(.*)\.(.*)$ /streaming/timeshift.php?username=$1&password=$2&stream=$4&extension=$6&duration=$3&start=$5 break;
  
        rewrite ^/(.*)/(.*)/(\d+)$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=ts break;
        #add pvr support
        rewrite ^/server/load.php$ /portal.php break;
  
        location /stalker_portal/c {
            alias /home/xtreamcodes/iptv_xtream_codes/wwwdir/c;
        }
  
        #FFmpeg Report Progress
        location = /progress.php {
            allow 127.0.0.1;
            deny all;
            fastcgi_pass php;
            include fastcgi_params;
            fastcgi_ignore_client_abort on;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param SCRIPT_NAME $fastcgi_script_name;
        }


        location ~ \.php$ {
            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;
        }
    }
    server {
        listen 25500;
        index index.php index.html index.htm;
        root /home/xtreamcodes/iptv_xtream_codes/admin/;

        location ~ \.php$ {
            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;
        }
    }
    server {
        listen 80;
        index index.php index.html index.htm;
        root /home/xtreamcodes/iptv_xtream_codes/website/;

        location ~ \.php$ {
            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;
        }
    }
}
[/REPLYANDTHANKS]

after creating a folder called website at: / home / xtreamcodes / iptv_xtream_codes / website
and place your site files in this location.

run in you SSH client:

Bash:
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s reload
(y)tks bobo635 for this tip

To access the site go to http://your_IP

I am creating a system for end users to get m3u links among other functions and soon I will post here for you


Sorry my bad english.
 
Last edited:

Djotabr

Extended Member
Ext. Member
Joined
Oct 3, 2019
Messages
32
Reaction score
104
Points
44
Location
Brazil
Good job m8 :)
And waiting for the second part (the m3u line generator)
Regard
I am new to the world of iptv manager.
My specialty is game programming.
I am adapting with the system.
I'm studying how things are with IPTV and its demands.
Soon I can help the community more.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

arbist2005

Banned
Banned
Ext. Member
Joined
Oct 3, 2019
Messages
21
Reaction score
9
Points
14
Location
keniken
This tutorial is for cases where you need to add a website for client access (lines) to download apk among other things.

Edit the nginx.conf File
in the folder: / home / xtreamcodes / iptv_xtream_codes / nginx / conf
find the line: 112
and paste this below:

No quote

after creating a folder called website at: / home / xtreamcodes / iptv_xtream_codes / website
and place your site files in this location.

run in you SSH client:
PHP:
/home/xtreamcodes/iptv_xtream_codes/start_services.sh

To access the site go to http://your_IP

I am creating a system for end users to get m3u links among other functions and soon I will post here for you


Sorry my bad english.
Thank you i will try it
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

shitping

Extended Member
Ext. Member
Joined
Sep 24, 2019
Messages
120
Reaction score
188
Points
54
Location
home
This tutorial is for cases where you need to add a website for client access (lines) to download apk among other things.

Edit the nginx.conf File
in the folder: / home / xtreamcodes / iptv_xtream_codes / nginx / conf
find the line: 112
and paste this below:

No quote

after creating a folder called website at: / home / xtreamcodes / iptv_xtream_codes / website
and place your site files in this location.

run in you SSH client:
PHP:
/home/xtreamcodes/iptv_xtream_codes/start_services.sh

To access the site go to http://your_IP

I am creating a system for end users to get m3u links among other functions and soon I will post here for you


Sorry my bad english.
thanks
 

GaiusBaltar

Extended Member
Ext. Member
Joined
Oct 2, 2019
Messages
41
Reaction score
121
Points
44
Location
Ireland
This tutorial is for cases where you need to add a website for client access (lines) to download apk among other things.

Edit the nginx.conf File
in the folder: / home / xtreamcodes / iptv_xtream_codes / nginx / conf
find the line: 112
and paste this below:

No quote

after creating a folder called website at: / home / xtreamcodes / iptv_xtream_codes / website
and place your site files in this location.

run in you SSH client:
PHP:
/home/xtreamcodes/iptv_xtream_codes/start_services.sh

To access the site go to http://your_IP

I am creating a system for end users to get m3u links among other functions and soon I will post here for you


Sorry my bad english.
THanks for that
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

bobo635

Extended Member
Ext. Member
Joined
Sep 21, 2019
Messages
26
Reaction score
153
Points
39
Location
montreal
not need to restart panel with this /home/xtreamcodes/iptv_xtream_codes/start_services.sh just reload nginx by

Bash:
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s reload
 
Last edited:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

muraglia85

Extended Member
Ext. Member
Joined
Sep 21, 2019
Messages
26
Reaction score
87
Points
24
Location
Italy
This tutorial is for cases where you need to add a website for client access (lines) to download apk among other things.

Edit the nginx.conf File
in the folder: / home / xtreamcodes / iptv_xtream_codes / nginx / conf
find the line: 112
and paste this below:

No quote

after creating a folder called website at: / home / xtreamcodes / iptv_xtream_codes / website
and place your site files in this location.

run in you SSH client:
PHP:
/home/xtreamcodes/iptv_xtream_codes/start_services.sh

To access the site go to http://your_IP

I am creating a system for end users to get m3u links among other functions and soon I will post here for you


Sorry my bad english.
Thanks.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock