Update pleroma.nginx
authorlambda <pleromagit@rogerbraun.net>
Thu, 8 Mar 2018 18:00:59 +0000 (18:00 +0000)
committerlambda <pleromagit@rogerbraun.net>
Thu, 8 Mar 2018 18:00:59 +0000 (18:00 +0000)
installation/pleroma.nginx

index f714792daa62a00db3236906f5df1b6ebbe969ac..fcc3997d324f4eef9b23c8b37504a126bd692e4f 100644 (file)
@@ -26,6 +26,8 @@ server {
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection "upgrade";
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection "upgrade";
+        proxy_set_header Host $http_host;
+
         proxy_pass http://localhost:4000;
     }
 
         proxy_pass http://localhost:4000;
     }