1 parent f572cb6 commit e5a1c24Copy full SHA for e5a1c24
1 file changed
.symfony/recipe/nowo-tech/word-to-pdf-bundle/1.0/config/packages/nowo_word_to_pdf.yaml
@@ -2,6 +2,7 @@
2
#
3
# System requirement: LibreOffice Writer (e.g. apt install libreoffice-writer).
4
# Verify: php bin/console nowo:word-to-pdf:check
5
+# Host must only pass trusted upload paths (never user-controlled absolute paths).
6
7
nowo_word_to_pdf:
8
engine: libreoffice
@@ -22,3 +23,12 @@ nowo_word_to_pdf:
22
23
storage: memory
24
local_path: null
25
flysystem_adapter: null
26
+
27
+when@prod:
28
+ nowo_word_to_pdf:
29
+ profiles:
30
+ default:
31
+ timeout: 120
32
+ max_source_bytes: 20971520
33
+ check_on_boot: true
34
+ boot_failure: exception
0 commit comments