frkn-dev / FRKN

FRKN: freedom of speech and information
https://frkn.org/
GNU General Public License v3.0
657 stars 64 forks source link

[Infra] Put configuration files to a server #65

Closed the2pizza closed 2 years ago

the2pizza commented 2 years ago

Need to run nginx as fileserver, github is shitty as fuck for distributing config files

er2805620 commented 2 years ago

@the2pizza 1) what OS what place on filesystem for files? like /home/user/files/certificate.p12 and what URI should have setting files? like domainame.com/configs/certificate.p12

2) possible need to move config files to subdomain like files.fuckrkn1.org which will be hosted on servers in this case main domain fuckrkn1.org can be hosted on github or another place

the2pizza commented 2 years ago

@er2805620

  1. Not sure I got the question, I meant we need a place which we can provide as more comfortable way to download the files behind github web-interface
  2. I already bought the server s.fuckrkn1.xyz; fuckrkn1.org is already hosted on gh pages ._.
er2805620 commented 2 years ago

1) yes I understand but need more info to do config

As i understand domain will be s.fuckrkn1.xyz also we need to install certbot for letsencrypt certs we need to know place where you store certificates on s.fuckrkn1.xyz to download and create pipeline where certs on the s.fuckrkn1.xyz will be automatically replaced if it changed on github

and we can just use link to raw file for direct download not to the github page

https://github.com/nezavisimost/FuckRKN1/raw/main/client-conf/vpnclient.p12 example: vpnclient.p12

the2pizza commented 2 years ago

Done

https://s.fuckrkn1.xyz

https://github.com/nezavisimost/FuckRKN1/pull/83