Skip to content

JohnDoe42/aur-nginx-passenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is the PKGBUILD and related source files to build nginx with support for Phusion Passenger on Arch Linux.

Instructions

What, you wanted step-by-step install instructions? This package is available from the AUR. You can install it by using the official method for installing unsupported packages, which is exhaustively described in the Arch User Repository wiki article.

Configuration

Once you've installed this package, nginx needs to be configured to enable passenger. Here's an example of /etc/nginx/nginx.conf:

http {
    # Recommended
    server_tokens off;
    passenger_show_version_in_header off;

    # Required
    passenger_root /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini;
    passenger_ruby /usr/bin/ruby;

    ...

    # Example server block
    server {
        listen 443 ssl spdy;
        server_name www.example.com;
        root /srv/http/example/public; # <-- be sure to point to 'public'!
        passenger_enabled on;

        ...
    }

    ...
}

Please consult the Phusion Passenger users guide, Nginx version for more advanced configuration.

About

Nginx built with support for Passenger.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages