Use Rocket-Nginx under RunCloud

Login as root then enter following commands.

cd /etc/nginx-rc
git clone
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:

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 depending on the app if custom settings were used.