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
e7d5386c
Commit
e7d5386c
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
increased upload size limit. told nginx about our 413.html page
parent
0b5972a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
gliders.nginx.conf
gliders.nginx.conf
+1
-4
nginx.conf
nginx.conf
+1
-1
No files found.
gliders.nginx.conf
View file @
e7d5386c
...
...
@@ -45,11 +45,8 @@ server {
try_files
$
uri
@
rewriteapp
;
}
error_page
413
/
413
.
html
;
error_page
502
/
502
.
html
;
location
@
error_502
{
rewrite
^(.*)$ /
502
.
html
break
;
}
error_page
503
@
maintenance
;
location
@
maintenance
{
rewrite
^(.*)$ /
maintenance
.
html
break
;
...
...
This diff is collapsed.
Click to expand it.
nginx.conf
View file @
e7d5386c
...
...
@@ -28,7 +28,7 @@ http {
server_tokens
off
;
client_body_buffer_size
1k
;
client_header_buffer_size
1k
;
client_max_body_size
1024
k
;
# uploads limited to
1
MB...
client_max_body_size
8192
k
;
# uploads limited to
8
MB...
large_client_header_buffers
2
1k
;
include
/etc/nginx/mime.types
;
...
...
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