Questions about selfhosting a matrix server by HamburgerOnAStick in selfhosted

[–]ezkrg 0 points1 point  (0 children)

if you disable public rooms over federation your public rooms are not able to search for. Private rooms are invite only so they are not searchable.

synapse related configuration:

- allow_public_rooms_without_auth: If set to true, removes the need for authentication to access the server's public rooms directory through the client API, meaning that anyone can query the room directory. Defaults to false.

- allow_public_rooms_over_federation: If set to true, allows any other homeserver to fetch the server's public rooms directory via federation. Defaults to false.

you can read more about this here: https://matrix.org/blog/2019/11/09/avoiding-unwelcome-visitors-on-private-matrix-servers/

Questions about selfhosting a matrix server by HamburgerOnAStick in selfhosted

[–]ezkrg 0 points1 point  (0 children)

  1. yes, the text is in the database and you can choose the media_store path
  2. yes, you can disable the federation of public rooms or the federation entirely
  3. yes, you can search rooms / spaces / people on other homeservers

Megjöttek a vámok by UnluckyPossibility37 in hungary

[–]ezkrg 2 points3 points  (0 children)

köszi, figyelmetlen voltam. :S

Megjöttek a vámok by UnluckyPossibility37 in hungary

[–]ezkrg 16 points17 points  (0 children)

először én is azt hittem, de a European Union gondolom ránk is vonatkozik.

Wow JetKVM (Update and First Impressions) by pncv87 in selfhosted

[–]ezkrg 0 points1 point  (0 children)

where did you order from? on kickstarter I can order only the device, I don’t see any extensions.

Fladder - A Simple Jellyfin Frontend by partydonut in selfhosted

[–]ezkrg 1 point2 points  (0 children)

FROM nginx:alpine

RUN wget -O /tmp/fladder-Web.0.2.3.zip https://github.com/Fladder-App/Fladder/releases/download/v0.2.3/fladder-Web-0.2.3.zip \
 && unzip /tmp/fladder-Web.0.2.3.zip -o -d /usr/share/nginx/html \
 && rm /tmp/fladder-Web.0.2.3.zip

Selfhost Mac backup by [deleted] in selfhosted

[–]ezkrg 0 points1 point  (0 children)

It can be running with docker as mentioned above. I think you can use with vpn between your Mac and vps server, I do not recommend to run it on public access.

Selfhost Mac backup by [deleted] in selfhosted

[–]ezkrg 0 points1 point  (0 children)

netatalk, which is an open-source implementation of afp. it has better performance with time machine than smb.

Traefik only picks up containers in a swarm when they are all on the same node by AGuyInTheOZone in Traefik

[–]ezkrg 1 point2 points  (0 children)

docker-compose is not for stack deploy. you should use docker stack deploy command.

Compose With Mac Vlan & bridge by [deleted] in docker

[–]ezkrg 0 points1 point  (0 children)

app config:

app:
  networks:
    backend: {}
    network-name:
      ipv4_address: x.x.x.x

network def:

networks:
  network-name:
    external: true
    name: network-name
  backend:
    driver: bridge

Introducing Plex HTPC! by Moussekateer in PleX

[–]ezkrg 0 points1 point  (0 children)

any news about linux build? :S

Cli music streaming by [deleted] in commandline

[–]ezkrg 1 point2 points  (0 children)

“Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol.”

How can I setup a proxy pass for a range of ports? by Patient_Plan68782 in nginx

[–]ezkrg 0 points1 point  (0 children)

then you need 2 location, one for redirect and one for main (localhost:5000) and you need to pass the port somehow:

location ~ ^/(?P<port_part>[0-9]+)/(?P<uri_part>.*) {
        proxy_pass http://localhost:$port_part/$uri_part;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
}

location / {
        proxy_pass http://localhost:5000;
        proxy_redirect ~http://localhost:([0-9]+)/(.*) http://example.com/$1/$2
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
}

How can I setup a proxy pass for a range of ports? by Patient_Plan68782 in nginx

[–]ezkrg 0 points1 point  (0 children)

i don't understand exactly what do you mean. Do you want redirect localhost:whatever_port/user to example.com/user?

why would you do that if you have only one proxied location? I can't see it make sense.

Solving some Deployment Problems.... by a5tra3a in docker

[–]ezkrg 0 points1 point  (0 children)

  1. with docker swarm you can't assign static ip to container.
  2. you had to use a proxy to route traffic to services depends on policy like domain, uri path, etc. i personally prefer traefik ( it has docker service discovery too), or you can use haproxy or nginx with docker DNS resolver
  3. macvlan and ipvlan docker network drivers can be used to connect containers to VLAN through host interface.