Commit c848084e authored by Boxiang Sun's avatar Boxiang Sun

peertube: fixup

parent 516caa6e
...@@ -34,7 +34,7 @@ md5sum = e761995c4c18efc4a199f11dc8fde039 ...@@ -34,7 +34,7 @@ md5sum = e761995c4c18efc4a199f11dc8fde039
[template-nginx-configuration] [template-nginx-configuration]
filename = template-nginx.cfg.in filename = template-nginx.cfg.in
md5sum = e973d4ab970aaef784defb22bf8fa05a md5sum = a2c81009508d7efcdb7fc7f9348259d8
[template-dcron-service] [template-dcron-service]
filename = template-dcron-service.sh.in filename = template-dcron-service.sh.in
......
...@@ -83,7 +83,7 @@ server { ...@@ -83,7 +83,7 @@ server {
location @api { location @api {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $html_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
client_max_body_size 100k; # default is 1M client_max_body_size 100k; # default is 1M
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment