mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Strip 'BROWSER MEDIA CACHE' block in rocket-nginx conf
This commit is contained in:
parent
201cdad4b3
commit
4563f02f0f
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ fi
|
||||||
cd rocket-nginx
|
cd rocket-nginx
|
||||||
cp rocket-nginx.ini.disabled rocket-nginx.ini
|
cp rocket-nginx.ini.disabled rocket-nginx.ini
|
||||||
php rocket-parser.php
|
php rocket-parser.php
|
||||||
|
/usr/local/vesta/bin/v-php-func 'strip_once_in_file_between_including_borders' '/etc/nginx/rocket-nginx/conf.d/default.conf' '# BROWSER MEDIA CACHE' '}'
|
||||||
|
|
||||||
wget -nv -O /usr/local/vesta/data/templates/web/nginx/wprocket-force-https.tpl https://c.myvestacp.com/tools/rocket-nginx-templates/wprocket-force-https.tpl
|
wget -nv -O /usr/local/vesta/data/templates/web/nginx/wprocket-force-https.tpl https://c.myvestacp.com/tools/rocket-nginx-templates/wprocket-force-https.tpl
|
||||||
wget -nv -O /usr/local/vesta/data/templates/web/nginx/wprocket-force-https.stpl https://c.myvestacp.com/tools/rocket-nginx-templates/wprocket-force-https.stpl
|
wget -nv -O /usr/local/vesta/data/templates/web/nginx/wprocket-force-https.stpl https://c.myvestacp.com/tools/rocket-nginx-templates/wprocket-force-https.stpl
|
||||||
wget -nv -O /usr/local/vesta/data/templates/web/nginx/wprocket-hosting.tpl https://c.myvestacp.com/tools/rocket-nginx-templates/wprocket-hosting.tpl
|
wget -nv -O /usr/local/vesta/data/templates/web/nginx/wprocket-hosting.tpl https://c.myvestacp.com/tools/rocket-nginx-templates/wprocket-hosting.tpl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue