Setting up nginx for Luminos

This is an example configuration setting that allows nginx to play along with Luminos. It requires Luminos to be configured as a FastCGI server.

First, configure Luminos as a FastCGI server that will listen on 127.0.0.1:9000.

# settings.yaml
server:
  bind: "127.0.0.1"
  port: 9000
  type: "fastcgi"

Then add the fastcgi_pass option to nginx.

server {
  # Add one or many hosts.
  server_name example.org foo.example.org bar.example.org;
  location / {
    fastcgi_pass   127.0.0.1:9000;
    include        fastcgi_params;
  }
}

Site examples

If you would like to see full site examples you can browse the source code of this site at the github project page.

The gosexy.org site uses Luminos too and the source code is freely available in github.

Markdown editors