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
05423890
Commit
05423890
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
stop logging 404s in /static/images
parent
da5ccc68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gliders.nginx.conf
gliders.nginx.conf
+2
-2
No files found.
gliders.nginx.conf
View file @
05423890
...
...
@@ -61,10 +61,10 @@ server {
add_header
Cache
-
Control
"public"
;
}
location
~ ^/
images
/
vehicles
/(?
P
<
vehicle_type
>[
a
-
zA
-
Z0
-
9
]+)
_
(?
P
<
vehicle_name
>[
a
-
zA
-
Z0
-
9
]+)\.(
png
|
jpg
)
$ {
location
~ ^/
static
/
images
/.*
$ {
access_log
off
;
error_log
off
;
try_files
$
uri
images
/
vehicles
/$
vehicle_name
.
png
=
404
;
try_files
$
uri
=
404
;
}
location
/
static
/
logs
{
...
...
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