Installing on Solaris 11

= Installation = Please see Solaris 10u5 for a detailed walkthrough, this is the bare essentials for installing nginx on Solaris 11. Solaris 11 has much improved versions of PCRE and OpenSSL so it's not required to install them manually.

Install packages (OpenIndiana 151a8)
Activate SFE repos (see http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository)

Fetch and compile nginx
= Startup script =

Same as Installing_on_Solaris_10_u5.

Create the file /lib/svc/method/svc-nginx with the following content:

Create the manifest: /var/svc/manifest/network/nginx.xml (almost same but correct typo in stability to "Stable" with a capital S, and new version number.

Set the permissions and import it