Commit 31a0ce151491297f79292f1f8a2493d77f2b885f

Authored by root
1 parent 034d0e65
Exists in master

alteracao nos logs, uploadprogress estava dando erro de heap no php, forcamos um…

…a versao q nao da o erro
containeres/sei-app/Dockerfile
... ... @@ -22,6 +22,7 @@ COPY files/ConfiguracaoSip.php /opt/sip/config/ConfiguracaoSip.php
22 22  
23 23 COPY files/sei.ini /etc/php.d/sei.ini
24 24 COPY files/sei.conf /etc/httpd/conf.d/
  25 +COPY files/httpd.conf /etc/httpd/conf/
25 26  
26 27 # Adição de redirects para conveniencia do usuario
27 28 COPY files/conferir/ /opt/sei/web/conferir/
... ...
containeres/sei-app/entrypoint.sh 100644 → 100755
containeres/sei-app/files/httpd-foreground 100644 → 100755
containeres/sei-app/files/httpd.conf
... ... @@ -496,7 +496,7 @@ LogLevel warn
496 496 # The following directives define some format nicknames for use with
497 497 # a CustomLog directive (see below).
498 498 #
499   -LogFormat "%h %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  499 +LogFormat "%h \"%{X-Forwarded-For}i\" %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
500 500 LogFormat "%h %l %u %t \"%r\" %>s %b" common
501 501 LogFormat "%{Referer}i -> %U" referer
502 502 LogFormat "%{User-agent}i" agent
... ...
containeres/sei-app/files/install.sh
... ... @@ -20,7 +20,7 @@ yum -y install php56w php56w-common php56w-cli php56w-pear php56w-bcmath php56w-
20 20 php56w-pecl-apcu-devel php56w-pecl-memcache php56w-calendar php56w-shmop php56w-intl php56w-mcrypt
21 21  
22 22 # Instalação do componentes UploadProgress
23   -pecl install uploadprogress && \
  23 +pecl install uploadprogress-1.0.3.1 && \
24 24 echo "extension=uploadprogress.so" >> /etc/php.d/uploadprogress.ini
25 25  
26 26 # Configuração do pacote de línguas pt_BR
... ...
containeres/sei-app/files/sei.conf
1 1 ServerTokens Prod
2 2  
3   -LogFormat "%h %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  3 +LogFormat "%h \"%{X-Forwarded-For}i\" %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
4 4  
5 5 KeepAlive On
6 6 MaxKeepAliveRequests 100
... ...