Commit c034ead5 authored by Federico Semprini's avatar Federico Semprini
Browse files

Increased max post size

parent f798c109
FROM nginx:alpine
COPY ./default.conf /etc/nginx/conf.d
\ No newline at end of file
COPY ./default.conf /etc/nginx/conf.d
COPY nginx.conf /etc/nginx/
\ No newline at end of file
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
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;
#added
server_names_hash_max_size 512;
server_names_hash_bucket_size 128;
client_max_body_size 0;
#changed
include /etc/nginx/conf.d/*;
}
\ No newline at end of file
......@@ -6,4 +6,15 @@ RUN docker-php-ext-install \
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
COPY ./xdebug.ini /usr/local/etc/php/conf.d/
\ No newline at end of file
RUN apt-get update && \
apt-get install libldap2-dev -y && \
apt-get install libicu-dev -y && \
apt-get install -y zlib1g-dev && \
rm -rf /var/lib/apt/lists/* && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
docker-php-ext-install ldap && \
docker-php-ext-install intl && \
docker-php-ext-install zip
COPY ./xdebug.ini /usr/local/etc/php/conf.d/
COPY ./php.ini /usr/local/etc/php/
\ No newline at end of file
upload_max_filesize = 100M
post_max_size = 100M
\ No newline at end of file
Supports Markdown
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