-
-
Save licaon-kter/eb0263c2f7feb232ca5021c9bff0730f to your computer and use it in GitHub Desktop.
Conversejs HEAD error 413 on upload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod_http_fileserver: | |
docroot: "/usr/local/var/lib/ejabberd/web" | |
accesslog: "/usr/local/var/log/ejabberd/web.log" | |
directory_indices: | |
- "index.html" | |
custom_headers: | |
"Access-Control-Allow-Origin": "https://domain.tld" | |
"Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS" | |
"Strict-Transport-Security": "max-age=31536000; includeSubDomains" | |
"Content-Security-Policy": "upgrade-insecure-requests; " | |
"X-Frame-Options": "SAMEORIGIN" | |
"X-Xss-Protection": "1; mode=block" | |
"X-Content-Type-Options": "nosniff" | |
"Referrer-Policy": "strict-origin" | |
content_types: | |
".ogg": "audio/ogg" | |
".png": "image/png" | |
".jpg": "image/jpg" | |
default_content_type: "text/html" | |
mod_http_upload: | |
docroot: "/usr/local/var/lib/ejabberd/upload" | |
put_url: "https://upload.@HOST@" | |
custom_headers: | |
"Access-Control-Allow-Origin": "https://domain.tld" | |
"Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS" | |
"Access-Control-Allow-Headers": "Content-Type" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment