Fix image formats and size, add feedback
This commit is contained in:
1 parent
feaab7e4e2
commit
fef1abade8
11 files changed
+192
-12
No files matched your search
@@ -15,6 +15,11 @@ server {
|
||||
root /srv/gochat/dist;
|
||||
index index.html;
|
||||
|
||||
# Avatar uploads are capped at 4 MiB by the backend; allow a little extra
|
||||
# for multipart form overhead. Without this nginx would reject them with
|
||||
# 413 Request Entity Too Large at its default 1m limit.
|
||||
client_max_body_size 5m;
|
||||
|
||||
# Hashed/static bundles can be cached aggressively; index.html must not be.
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
Reference in new issue
Block a user