Skip to content

Instantly share code, notes, and snippets.

View charlesthk's full-sized avatar

Charles TISSIER charlesthk

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta property="og:url" content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html" />
<meta property="og:type" content="article" />
<meta property="og:title" content="When Great Minds Don’t Think Alike" />
<meta property="og:description" content="How much does culture influence creative thinking?" />
<meta property="og:image" content="http://static01.nyt.com/images/2015/02/19/arts/international/19iht-btnumbers19A/19iht-btnumbers19A-facebookJumbo-v2.jpg" />
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="A page's description meta tag gives Google and other search engines a summary of what the page is about.">
</head>
<body>
</body>
</html>
[uwsgi]
module = project.wsgi:application
master = true
pidfile = django.uwsgi.pid
enable-threads = true
http = 127.0.0.1:8000
processes = 5
# respawn processes taking more than 50 seconds
harakiri = 50
# respawn processes after serving 5000 requests
server {
listen 80;
server_tokens off;
server_name www.my-website.com;
return 301 http://my-website.com$request_uri;
}
server {
listen 80;
server_name my-website.com;
server {
listen 80;
# substitute your web server's local URL with yours
server_name my-wp-website.localhost;
index index.html index.php;
client_max_body_size 40M;
access_log /usr/local/var/log/nginx/my-wp-website.localhost.access.log;