This is my repository server.
[salamek]
Server = https://repository.salamek.cz/arch/pub/$arch
SigLevel = Optional
[salamek]
Server = https://login:password@repository.salamek.cz/arch/priv/$arch
SigLevel = Optional
wget -O- https://repository.salamek.cz/deb/salamek.gpg | sudo tee /usr/share/keyrings/salamek-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/salamek-archive-keyring.gpg] https://repository.salamek.cz/deb/pub all main" | sudo tee /etc/apt/sources.list.d/salamek.cz.list
wget -O- https://repository.salamek.cz/deb/salamek.gpg | sudo tee /usr/share/keyrings/salamek-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/salamek-archive-keyring.gpg] https://repository.salamek.cz/deb/priv all main" | sudo tee /etc/apt/sources.list.d/salamek_priv.cz.list
printf "machine repository.salamek.cz\nlogin YOUR_LOGIN\npassword YOUR_PASSWORD" | sudo tee /etc/apt/auth.conf.d/salamek.cz.conf