Feat: add accesslog
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -3,5 +3,6 @@ matrix/nginx/www/ | ||||
| matrix/synapse/media_store/ | ||||
|  | ||||
| traefik/certs/ | ||||
| traefik/log/ | ||||
|  | ||||
| minio/data | ||||
|   | ||||
| @@ -19,6 +19,8 @@ services: | ||||
|       - ./config.yml:/etc/traefik/config.yml:ro | ||||
|       # On map les certificats dans le conteneur | ||||
|       - ./certs:/etc/certs:ro | ||||
|       - ./log:/var/log/traefik | ||||
|       - /usr/share/zoneinfo:/usr/share/zoneinfo:ro | ||||
|     networks: | ||||
|       - gateway | ||||
|     labels: | ||||
|   | ||||
| @@ -38,3 +38,12 @@ http: | ||||
|       redirectScheme: | ||||
|         scheme: https | ||||
|         permanent: true | ||||
|  | ||||
| accessLog: | ||||
|   filePath: "/var/log/traefik/access.log" | ||||
|   fields: | ||||
|     defaultMode: keep | ||||
|     names: | ||||
|       StartUTC: drop | ||||
|     headers: | ||||
|       defaultMode: keep | ||||
|   | ||||
		Reference in New Issue
	
	Block a user