-
-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganise whitespace in the vhost header and location header/footer.
The current template inserts newlines after a location, which doesn't seem logical; one can't assume there will always be more blocks that follow. Therefore it is only logical to include the newline before a new location block is inserted, which lends itself to the convention of only prepending newlines to blocks, never appending them.
- Loading branch information
Showing
3 changed files
with
2 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,3 @@ | |
<%- end -%> | ||
<% end -%> | ||
} | ||
|
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 |
---|---|---|
|
@@ -94,4 +94,3 @@ server { | |
|
||
access_log <%= @access_log_real %>; | ||
error_log <%= @error_log_real %>; | ||
|