This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" WARNING: crypto is hard to do right, bugs are hard to discover. Don't use if you life depends on it. """ | |
import os.path | |
from subprocess import Popen, PIPE | |
import json | |
# requests and beautifulsoup should be in your favorite package manager already | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
#server_name ~^($<domain>.*)\.l\/.*$; | |
server_name ~^(www\.)?(?<domain>.+)\.(l|bigsony|b)$; | |
#gzip off; | |
root /home/rfay/workspace/$domain; | |
fastcgi_read_timeout 1200; | |
fastcgi_send_timeout 1200; | |
client_max_body_size 128m; |