View vk.ex
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) |
View gist:3928668
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; |