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
3bccbe1a
Commit
3bccbe1a
authored
8 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
fixed /static/images
parent
05423890
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gliders.nginx.conf
gliders.nginx.conf
+6
-6
No files found.
gliders.nginx.conf
View file @
3bccbe1a
...
@@ -61,12 +61,6 @@ server {
...
@@ -61,12 +61,6 @@ server {
add_header
Cache
-
Control
"public"
;
add_header
Cache
-
Control
"public"
;
}
}
location
~ ^/
static
/
images
/.*$ {
access_log
off
;
error_log
off
;
try_files
$
uri
=
404
;
}
location
/
static
/
logs
{
location
/
static
/
logs
{
alias
/
var
/
gliders
/
logs
;
alias
/
var
/
gliders
/
logs
;
}
}
...
@@ -79,6 +73,12 @@ server {
...
@@ -79,6 +73,12 @@ server {
alias
/
var
/
gliders
/
static
;
alias
/
var
/
gliders
/
static
;
}
}
location
/
static
/
images
{
access_log
off
;
error_log
off
;
alias
/
var
/
gliders
/
static
/
images
;
}
location
@
rewriteapp
{
location
@
rewriteapp
{
rewrite
^(.*)$ /${
symfonyfile
}.
php
/$
1
last
;
rewrite
^(.*)$ /${
symfonyfile
}.
php
/$
1
last
;
}
}
...
...
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