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
4ec42fd9
Unverified
Commit
4ec42fd9
authored
May 14, 2015
by
Owen Jacobson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move public to public_html.
parent
1d1865a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
detect
bin/detect
+2
-2
nginx.conf.erb
scripts/config/templates/nginx.conf.erb
+1
-1
No files found.
bin/detect
100644 → 100755
View file @
4ec42fd9
...
...
@@ -3,9 +3,9 @@
build_dir
=
$1
if
[
!
-d
"
$build_dir
/public"
]
;
then
if
[
!
-d
"
$build_dir
/public
_html
"
]
;
then
exit
1
fi
echo
'
static buildpack
'
echo
'
Static HTML
'
exit
0
scripts/config/templates/nginx.conf.erb
View file @
4ec42fd9
...
...
@@ -31,7 +31,7 @@ http {
listen
<%=
port
%>
;
server_name _;
keepalive_timeout 5;
root public/;
root public
_html
/;
<%
backends
.
each
do
|
backend
|
%>
location
<%=
backend
[
'mount_point'
]
%>
{
...
...
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