add source code and readme
This commit is contained in:
30
manifests/applications/pixelfed/php-config.yaml
Normal file
30
manifests/applications/pixelfed/php-config.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: pixelfed-php-config
|
||||
namespace: pixelfed-application
|
||||
labels:
|
||||
app: pixelfed
|
||||
data:
|
||||
php.ini: |
|
||||
; PHP Upload Configuration for Pixelfed
|
||||
; Allows uploads up to 25MB to support MAX_PHOTO_SIZE=20MB
|
||||
|
||||
upload_max_filesize = 25M
|
||||
post_max_size = 30M
|
||||
memory_limit = 1024M
|
||||
max_execution_time = 120
|
||||
max_input_time = 120
|
||||
|
||||
; Keep existing security settings
|
||||
allow_url_fopen = On
|
||||
allow_url_include = Off
|
||||
expose_php = Off
|
||||
display_errors = Off
|
||||
display_startup_errors = Off
|
||||
log_errors = On
|
||||
|
||||
; File upload settings
|
||||
file_uploads = On
|
||||
max_file_uploads = 20
|
||||
Reference in New Issue
Block a user