joshdick / miniProxy

🚨⚠️ UNMAINTAINED! ⚠️🚨 A simple PHP web proxy.
http://joshdick.github.io/miniProxy
GNU General Public License v3.0
858 stars 542 forks source link

404 error in nginx #142

Closed vaselinetv closed 4 years ago

vaselinetv commented 4 years ago

I am planning to use miniproxy for streaming and i have to use http://myserver/miniProxy.php/https://streamingurl.m3u8 instead http://myserver/miniProxy.php?https://streamingurl.m3u8

But I am getting 404 error when i try to use http://myserver/miniProxy.php/https://streamingurl.m3u8, please help me here.

Adding my config below.

server { listen 80 default_server; server_name localhost; root /var/www/public_html; index index.html;

location ~* \.php$ {
 fastcgi_pass unix:/run/php/php7.2-fpm.sock;
 include         fastcgi_params;
 fastcgi_param   SCRIPT_FILENAME    $document_root$fastcgi_script_name;
 fastcgi_param   SCRIPT_NAME        $fastcgi_script_name;
}

}