We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
CDN and Cname
CDN and Cname
Set CDN on my website.
To restrict "cdn.domain.com" on browser. Add cname in VestaCP: cdn to mycdnname.kxcdn.com
The panel keycdn enable x-pull name secretkeyname
In htaccess the website add:
RewriteEngine On
RewriteCond %{HTTP:X-Pull} secretkeyname
RewriteRule \.(html|php)$ - [F]
Or nginx:
location ~ (\.php|\.html) {
if ($http_x_pull ~* "secretkeyname") {
return 405;
}
}
https://www.keycdn.com/support/how-to-use-x-pull/
But not working. If you enter url "cdn.domain.com" in browser should return error 405.
To restrict "cdn.domain.com" on browser. Add cname in VestaCP: cdn to mycdnname.kxcdn.com
The panel keycdn enable x-pull name secretkeyname
In htaccess the website add:
RewriteEngine On
RewriteCond %{HTTP:X-Pull} secretkeyname
RewriteRule \.(html|php)$ - [F]
Or nginx:
location ~ (\.php|\.html) {
if ($http_x_pull ~* "secretkeyname") {
return 405;
}
}
https://www.keycdn.com/support/how-to-use-x-pull/
But not working. If you enter url "cdn.domain.com" in browser should return error 405.