Public Activity

Fetched from https://distbin.yalh.net//activitypub/public/page

{…}
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "orderedItems": [
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "object": {
        "id": "urn:uuid:3df735f8-cdfc-4a45-aa64-52100b870c40",
        "content": "```\r\n#sub_path_only rewrite ^/$ / permanent;\r\nlocation / {\r\n\r\n  # Force usage of https\r\n  if ($scheme = http) {\r\n    rewrite ^ https://$server_name$request_uri? permanent;\r\n  }\r\n  \r\n  proxy_pass http://127.0.0.1:8096/;\r\n  proxy_pass_request_headers  on;\r\n  proxy_redirect ~^/(.*) $scheme://$http_host/$1;\r\n  proxy_set_header Host $http_host;\r\n  proxy_set_header X-Real-IP $remote_addr;\r\n  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n  proxy_set_header X-Forwarded-Proto $scheme;\r\n\r\n  # Include SSOWAT user panel.\r\n  include conf.d/yunohost_panel.conf.inc;\r\n}\r\n```",
        "generator": {
          "name": "distbin-html",
          "type": "Application",
          "url": "https://distbin.yalh.net/"
        },
        "type": "Note"
      },
      "id": "https://distbin.yalh.net/activities/973b6730-c487-49ec-8308-9c3d06e842a2",
      "published": "2019-03-20T17:41:41.523Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:973b6730-c487-49ec-8308-9c3d06e842a2"
      ],
      "inbox": [
        "https://distbin.yalh.net/activitypub/inbox"
      ],
      "replies": "https://distbin.yalh.net/activities/973b6730-c487-49ec-8308-9c3d06e842a2/replies",
      "url": [
        "https://distbin.yalh.net/activities/973b6730-c487-49ec-8308-9c3d06e842a2"
      ],
      "uuid": "973b6730-c487-49ec-8308-9c3d06e842a2"
    },
    {
      "type": "Create",
      "@context": "https://www.w3.org/ns/activitystreams",
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "object": {
        "id": "urn:uuid:35c9d386-b0e1-4eb6-8d19-84de2fd4f74c",
        "content": "```\r\n# The path to NODEJS\r\nPATH=/opt/node_n/n/versions/node/10/bin\r\n\r\n# The port used by the application\r\nPORT=8096\r\n\r\n# The directory where is store the database\r\nDB_DIR=/var/www/distbin/distbin-db\r\n\r\n# The external URL\r\nEXTERNAL_URL=https://distbin.yalh.net/\r\n\r\n# The internal URL\r\nINTERNAL_URL=http://localhost:8096/\r\n\r\n# The Node Environnement\r\nNODE_ENV=production\r\n```",
        "generator": {
          "name": "distbin-html",
          "type": "Application",
          "url": "https://distbin.yalh.net/"
        },
        "type": "Note"
      },
      "id": "https://distbin.yalh.net/activities/a223748e-9cb4-4971-a64f-9d54db55da32",
      "published": "2019-03-20T17:39:52.866Z",
      "http://www.w3.org/2002/07/owl#sameAs": [
        "urn:uuid:a223748e-9cb4-4971-a64f-9d54db55da32"
      ],
      "inbox": [
        "https://distbin.yalh.net/activitypub/inbox"
      ],
      "replies": "https://distbin.yalh.net/activities/a223748e-9cb4-4971-a64f-9d54db55da32/replies",
      "url": [
        "https://distbin.yalh.net/activities/a223748e-9cb4-4971-a64f-9d54db55da32"
      ],
      "uuid": "a223748e-9cb4-4971-a64f-9d54db55da32"
    }
  ],
  "partOf": "/activitypub/public",
  "startIndex": 0,
  "type": "OrderedCollectionPage"
}
#sub_path_only rewrite ^/$ / permanent;
location / {

  # Force usage of https
  if ($scheme = http) {
    rewrite ^ https://$server_name$request_uri? permanent;
  }

  proxy_pass http://127.0.0.1:8096/;
  proxy_pass_request_headers  on;
  proxy_redirect ~^/(.*) $scheme://$http_host/$1;
  proxy_set_header Host $http_host;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header X-Forwarded-Proto $scheme;

  # Include SSOWAT user panel.
  include conf.d/yunohost_panel.conf.inc;
}
# The path to NODEJS
PATH=/opt/node_n/n/versions/node/10/bin

# The port used by the application
PORT=8096

# The directory where is store the database
DB_DIR=/var/www/distbin/distbin-db

# The external URL
EXTERNAL_URL=https://distbin.yalh.net/

# The internal URL
INTERNAL_URL=http://localhost:8096/

# The Node Environnement
NODE_ENV=production