-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added the $https_if_not_empty variable with a fallback.
- Loading branch information
António P. P. Almeida
committed
Jan 9, 2012
1 parent
e8c5abb
commit c4ecf05
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- mode: conf; mode: flyspell-prog; ispell-local-dictionary: "american" -*- | ||
### Implement the $https_if_not_empty variable for Nginx versions below 1.1.11. | ||
|
||
map $scheme $https_if_not_empty { | ||
default ''; | ||
https on; | ||
} |
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