Skip to content
master
Go to file
Code
This branch is 15 commits ahead, 4 commits behind refractalize:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Akamai G2O module for Nginx

nginx_mod_akamai_g2o Build Status

Controls access to content from Akamai edge servers, using the G2O headers: X-Akamai-G2O-Auth-Data and X-Akamai-G2O-Auth-Sign.

Installation

Like any other nginx module use the --add-module option when configuring:

./configure --add-module=$PATH_TO_G2O_DIR

or

./configure --add-dynamic-module=$PATH_TO_G2O_DIR

if you want to use it as dynamic module (nginx >= 1.9.11 is required)

It requires OpenSSL.

Configuration

Place the following settings (g2o, g2o_nonce and g2o_key) into a main, server or location section of your conf file:

location /download {
    g2o        on;
    g2o_nonce  "token";
    g2o_key    "a_password";
}

Testing

Get ruby, then install dependencies:

bundle

Then run the tests:

rspec

Write more tests in spec/*.rb

Copyright & License

All code in this project is released under the BSD license unless a different license for a particular library is specified in the applicable library path. Copyright © NGINX, Tim Macfarlane, Kaltura Inc. and others. All rights reserved.

About

Nginx Module for Authenticating Akamai G2O requests

Resources

License

Packages

No packages published
You can’t perform that action at this time.