Greetings cPanel savvies!
I have an Apache server with cPanel on it and a tube script (KVS) which requires Nginx in proxy mode for video protection.
In older cPanel versions I used nginx admin plugin which had a vhost config file to add the following commands for video protection
My server management tried to add command files in Engintron, but this plugin doesn't have a vhost config file. I tried to add the commands in custom rules file, and in common http file. Didn't worked also.
For Engintron developers, especially @fevangelou, lr other people who used Engintron to config a server for hosting a tube website (KVS script), my server management does something wrong?
I have an Apache server with cPanel on it and a tube script (KVS) which requires Nginx in proxy mode for video protection.
In older cPanel versions I used nginx admin plugin which had a vhost config file to add the following commands for video protection
just above to this command# protect videos from direct access
location /contents/videos/ {
root /home/cpanel_account_name/public_html;
limit_rate_after 2m;
internal;
}
In the last 2 years changed the server and on newer cPanel versions old nginx admin cannot be installed, instead server management installed Engintron.# Enable browser cache for archives, documents & media files (TTL is 60 days)
location ~* \.(?:3gp|7z|avi|bmp|bz2|csv|divx|doc|docx|eot|exe|flac|flv|gz|less|mid|midi|mka|mkv|mov|mp3|mp4|mpeg|mpg|odp|ods|odt|ogg|ogm|ogv|opus|pdf|ppt|pptx|rar|rtf|swf|tar|tbz|tgz|tiff|txz|wav|webm|wma|wmv|xls|xlsx|xz|zip)$ {
set $CACHE_BYPASS_FOR_STATIC 1;
include proxy_params_common;
include proxy_params_static;
expires 60d;
}
My server management tried to add command files in Engintron, but this plugin doesn't have a vhost config file. I tried to add the commands in custom rules file, and in common http file. Didn't worked also.
For Engintron developers, especially @fevangelou, lr other people who used Engintron to config a server for hosting a tube website (KVS script), my server management does something wrong?