equal
deleted
inserted
replaced
38 gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml; |
38 gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml; |
39 |
39 |
40 # the nginx default is 1m, not enough for large media uploads |
40 # the nginx default is 1m, not enough for large media uploads |
41 client_max_body_size 16m; |
41 client_max_body_size 16m; |
42 |
42 |
43 root {{nginx_html_root}}; |
|
44 |
|
45 location = / { |
43 location = / { |
46 index index.html; |
44 return 301 http://www.$host$request_uri; |
47 } |
45 } |
48 |
46 |
49 location / { |
47 location / { |
50 try_files $uri @pleroma; |
48 try_files $uri @pleroma; |
51 } |
49 } |