Browse Source

Extra nginx setting for pleroma

Bob Mottram 6 years ago
parent
commit
76f8b0d9a6
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-app-pleroma

+ 2
- 0
src/freedombone-app-pleroma View File

@@ -1207,6 +1207,7 @@ function install_pleroma {
1207 1207
           echo '';
1208 1208
           echo '    proxy_cache pleroma_media_cache;';
1209 1209
           echo '    proxy_cache_lock on;';
1210
+          echo '    proxy_ignore_client_abort on;';
1210 1211
           echo "    proxy_pass http://localhost:$PLEROMA_PORT;";
1211 1212
           echo '  }';
1212 1213
           echo '  # include snippets/well-known.conf;';
@@ -1268,6 +1269,7 @@ function install_pleroma {
1268 1269
       echo '';
1269 1270
       echo '    proxy_cache pleroma_media_cache;';
1270 1271
       echo '    proxy_cache_lock on;';
1272
+      echo '    proxy_ignore_client_abort on;';
1271 1273
       echo "    proxy_pass http://localhost:$PLEROMA_PORT;";
1272 1274
       echo '  }';
1273 1275
       echo '  # include snippets/well-known.conf;';