Skip to content

Instantly share code, notes, and snippets.

@shoaibali
Created October 4, 2015 01:45
Show Gist options
  • Save shoaibali/6f3398780557c49e05d1 to your computer and use it in GitHub Desktop.
Save shoaibali/6f3398780557c49e05d1 to your computer and use it in GitHub Desktop.
## Detect when HTTPS is used
map $scheme $fastcgi_https {
default off;
https on;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment