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
5f231486
Commit
5f231486
authored
9 years ago
by
root
Browse files
Options
Download
Email Patches
Plain Diff
added phpma nginx conf
parent
7ad18af3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
phpmyadmin.nginx.conf
phpmyadmin.nginx.conf
+35
-0
No files found.
phpmyadmin.nginx.conf
0 → 100644
View file @
5f231486
# Configuration for phpMyAdmin -- set it up to use php-fpm etc.
server
{
listen
80
;
listen
8081
;
root
/
home
/
gliders
/
phpma
;
index
index
.
php
index
.
html
index
.
htm
;
server_name
_
;
# update with actual hostname when we get it
location
/ {
try_files
$
uri
$
uri
/ /
index
.
php
;
}
error_page
404
/
404
.
html
;
error_page
500
502
503
504
/
50
x
.
html
;
# Serve static files directly
location
~* \.(
png
|
jpe
?
g
|
gif
|
ico
)$ {
expires
1
y
;
access_log
off
;
try_files
$
uri
$
uri
/ @
rewrite
;
gzip
off
;
}
location
~* \.(
css
|
js
)$ {
expires
1
d
;
access_log
off
;
}
location
~ \.
php
$ {
try_files
$
uri
=
404
;
fastcgi_pass
unix
:/
var
/
run
/
php5
-
fpm
.
sock
;
fastcgi_index
index
.
php
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
include
fastcgi_params
;
}
}
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