Skip to content
Snippets Groups Projects
Unverified Commit 8c4acf7e authored by BITARD Michaël's avatar BITARD Michaël Committed by GitHub
Browse files

fix(infra): passe la taille maximum d'un fichier à envoyer de 1M à 30M (#296)

parent 4f12e4c9
No related branches found
No related tags found
No related merge requests found
{{ $CurrentContainer := where $ "ID" .Docker.CurrentContainerID | first }}
{{ define "upstream" }}
{{ if .Address }}
{{/* If we got the containers from swarm and this container's port is published to host, use host IP:PORT */}}
......@@ -65,6 +64,8 @@
{{ end }}
{{ end }}
client_max_body_size 30m;
# If we receive X-Forwarded-Proto, pass it through; otherwise, pass along the
# scheme used to connect to this server
map $http_x_forwarded_proto $proxy_x_forwarded_proto {
......
......@@ -76,7 +76,7 @@ const titresColonnes = {
domaine: { id: 'domaineId', groupBy: ['titres.domaineId'] },
coordonnees: { id: 'coordonnees', groupBy: [] },
type: { id: 'type:type.nom', relation: 'type.type' },
statut: { id: 'titreStatutId', groupBy: ['titres.titresStatutId'] },
statut: { id: 'titreStatutId', groupBy: ['titres.titreStatutId'] },
activites: { id: 'activites', groupBy: [] },
titulaires: {
id: raw(`STRING_AGG("titulaires"."nom", ' ; ')`),
......
......@@ -2,6 +2,7 @@ server {
listen ${UI_PORT};
listen [::]:${UI_PORT};
server_name localhost;
client_max_body_size 30m;
location / {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment