Created attachment 265155 [details] Improvements for the documentation An update to the documentation needed to setup nginx with multiple profiles. Install www/nginx and then try to run it with 2 profiles. The script at /usr/local/nginx/rc.conf contains instructions on how to do it but they omit nginx_${profile}_configfile rc.conf variables. It is straightforward to understand you need them from reading the script or from the error message of the first run, but they should be documented. I suggest adding the following instructions, also attached as a patch. This is for files/nginx.in # nginx_{profile}_configfile (str): Set to "" by default # When using profiles manually define a variable for # each profile and assign the absolute path of # the configuration file for that profile. For example # nginx_profiles="assets proxy" # nginx_assets_configfile="/usr/local/etc/nginx/assets.conf" # nginx_proxy_configfile="/usr/local/etc/nginx/proxy.conf"
Created attachment 265437 [details] Improvements for the documentation ^Triage: rebase patch.