Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-static
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-static
Commits
703a4110
Unverified
Commit
703a4110
authored
Apr 04, 2017
by
Terence Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use [] instead of fetch, so it doesn't raise an execption
parent
b0792475
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nginx.conf.erb
scripts/config/templates/nginx.conf.erb
+2
-2
No files found.
scripts/config/templates/nginx.conf.erb
View file @
703a4110
...
...
@@ -17,7 +17,7 @@ http {
server_tokens off;
<%
if
logging
.
fetch
(
'access'
)
%>
<%
if
logging
[
'access'
]
%>
access_log logs/access.log;
<%
else
%>
access_log off;
...
...
@@ -27,7 +27,7 @@ http {
error_log stderr debug;
rewrite_log on;
<%
else
%>
error_log stderr
<%=
logging
.
fetch
(
'error'
)
%>
;
error_log stderr
<%=
logging
[
'error'
]
%>
;
<%
end
%>
include mime.types;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment