Skip to content

Instantly share code, notes, and snippets.

@almays
almays / gist:3928668
Created October 21, 2012 21:55
Unix conf: Sendy nginx rewrite rules
index index.php index.html;
root /your/path/to/the/sendy;
location = / {
index index.php;
}
location / {
if (!-f $request_filename){
rewrite ^/([a-zA-Z0-9-]+)$ /$1.php last;
defmodule CoherenceAssent.Strategy.VK do
alias CoherenceAssent.Strategy.Helpers
alias CoherenceAssent.Strategies.OAuth2, as: OAuth2Helper
def authorize_url(conn, config) do
OAuth2Helper.authorize_url(conn, set_config(config))
end
def callback(conn, config, params) do
config = set_config(config)