Skip to content

Instantly share code, notes, and snippets.

@kvfi
kvfi / flask.conf
Created July 15, 2019 19:09
Deployment configuration for Flask
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://unix:/path/to/socket.sock;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
fastcgi_read_timeout 300s;

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages