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
49d1ad37
Commit
49d1ad37
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
update for symfony
parent
d58c4323
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gliders.nginx.conf
gliders.nginx.conf
+6
-2
No files found.
gliders.nginx.conf
View file @
49d1ad37
...
...
@@ -4,6 +4,10 @@
# upstream FCGI" location section below. Be careful adding PHP files with
# sensitive data like passwords inside them.
map
$
host
$
symfony_root
{
default
/
home
/
gliders
/
code
/
gliders
-
website
;
}
upstream
phpfcgi
{
server
unix
:/
var
/
run
/
php5
-
fpm
.
sock
;
#for PHP-FPM running on UNIX socket
}
...
...
@@ -13,7 +17,7 @@ server {
listen
8080
;
server_name
gliders
.
vm
*.
gliders
.
vm
;
root
/
home
/
gliders
/
code
/
gliders
-
website
/
web
;
root
$
symfony_root
/
web
;
error_log
/
var
/
log
/
nginx
/
gliders
.
error
.
log
;
access_log
/
var
/
log
/
nginx
/
gliders
.
access
.
log
;
...
...
@@ -34,7 +38,7 @@ server {
location
~ ^/(
app
|
app_dev
|
config
)\.
php
(/|$) {
fastcgi_pass
phpfcgi
;
include
fastcgi_params
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
fastcgi_param
SCRIPT_FILENAME
$
symfony_root
/
web
/
$
fastcgi_script_name
;
fastcgi_param
HTTPS
off
;
}
}
...
...
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