Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
f5ee7927
Commit
f5ee7927
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
added restart on failure to hhvm.service
parent
b35a897a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
devtools.html
devtools.html
+12
-0
devtools.nginx.conf
devtools.nginx.conf
+4
-1
hhvm.service
hhvm.service
+1
-0
No files found.
devtools.html
0 → 100644
View file @
f5ee7927
<html>
<body>
<h1>
Development Tools
</h1>
<ul>
<li><a
href=
"/apc/index.php?OB=1"
>
APC
</a></li>
<li><a
href=
"/elasticsearch/_plugin/head"
>
ElasticSearch
</a></li>
<li><a
href=
"/hhvm"
>
HHVM
</a></li>
<li><a
href=
"/phpci/public/"
>
PHPCI
</a></li>
<li><a
href=
"/phpma/index.php"
>
phpMyAdmin
</a></li>
</ul>
</body>
</html>
This diff is collapsed.
Click to expand it.
devtools.nginx.conf
View file @
f5ee7927
...
...
@@ -9,6 +9,10 @@ server {
autoindex
on
;
}
location
/
elasticsearch
/
console
{
proxy_pass
http
://
127
.
0
.
0
.
1
:
9200
/;
}
location
/
phpma
{
index
index
.
php
;
try_files
$
uri
/
phma
/
index
.
php
?$
is_args
$
args
;
...
...
@@ -23,7 +27,6 @@ server {
access_log
off
;
location
~ \.
php
{
fastcgi_index
index
.
php
;
fastcgi_pass
hhvmfcgi
;
fastcgi_buffers
256
4
k
;
include
fastcgi_params
;
...
...
This diff is collapsed.
Click to expand it.
hhvm.service
View file @
f5ee7927
...
...
@@ -5,6 +5,7 @@ Description=HHVM HipHop Virtual Machine (FCGI)
ExecStartPre
=
/bin/mkdir -p /var/run/hhvm
ExecStartPre
=
/bin/chown -R gliders:nginx /var/run/hhvm
ExecStart
=
/usr/local/bin/hhvm --user gliders --mode daemon -d hhvm.server.type=fastcgi -d hhvm.server.file_socket=/var/run/hhvm/sock -d hhvm.admin_server.port=9001 -d hhvm.admin_server.password=gliders9876
Restart
=
on-failure
[Install]
WantedBy
=
multi-user.target
This diff is collapsed.
Click to expand it.
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