If you are using GitKraken Client with SSH Key to connect to this gitlab, please read this: https://about.gitlab.com/blog/2021/10/11/notice-for-gitkraken-users-with-gitlab/

Commit 9f2c0e2f authored by Marius Bauer's avatar Marius Bauer
Browse files

changed nginx max body size to 5gb

parent ca546a2d
FROM nginx
COPY static /usr/share/nginx/html
\ No newline at end of file
COPY nginx.conf /etc/nginx
COPY static /usr/share/nginx/html
CMD ["nginx", "-c", "/etc/nginx/nginx.conf"]
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
# set client body size to 2M #
client_max_body_size 5000M;
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
include /etc/nginx/conf.d/*.conf;
}
daemon off;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment