Commit 0ad44292 authored by Boxiang Sun's avatar Boxiang Sun

peertube: change host back

parent 00732906
......@@ -92,7 +92,7 @@ server {
location @api {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host '[$${nginx-configuration:ip}]:$${nginx-configuration:port}';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
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