nginx admin

Closed - This job posting has been filled and work has been completed.

Job Description

Provide documentation on setup and configuration of nginx, ngx_pagespeed and mass virtual hosting on ubuntu 12 AWS default.

Rewrite current apache script:

RewriteCond %{HTTP_HOST} ^www\.(.+) [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]

# proxy to nodejs application
RewriteCond %{HTTP_HOST}
RewriteRule ^/(.*)$ http://localhost:8888/$1 [P]
ProxyPassReverse / http://localhost:8888/

UseCanonicalName Off
VirtualDocumentRoot "/var/www/%0/_site"

<Directory "/var/www/*">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

To complete the job I should be able to cut and paste instructions on the live server.