Login as root
then enter following commands.
cd /etc/nginx-rc
git clone https://github.com/satellitewp/rocket-nginx.git
cd rocket-nginx
cp rocket-nginx.ini.disabled rocket-nginx.ini
php rocket-parser.php
As of version 2.1.1 there is a typo in the rocket-nginx.ini
, change media_header
to medias_header
My template: https://gist.github.com/Dibbyo456/2b08a4ff74665ccc40e0985b8f22292a
Create file <span style="color: #ff6600;">{app-name}</span>.location.main-before.rocket.conf
on /etc/nginx-rc/extra.d/
with following line:
include /etc/nginx-rc/rocket-nginx/default.conf;
Change default.conf
to example.com.conf
depending on the app if custom settings were used.