[Libre-soc-bugs] [Bug 190] Setup Gitlab CI Runner for Kazan on a computer
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Apr 1 06:43:27 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=190
--- Comment #46 from Jacob Lifshay <programmerjake at gmail.com> ---
I got nginx set up on my build server and confirmed that I could proxy to it
using nginx on another computer.
I have an index.html for the root, and I have /build-archive.git pointed to the
git repo (as a dumb git server, since that's easier to set up and since it's a
totally static website).
once that's set up, you can clone:
git clone https://build.programmerjake.tk/build-archive.git
needed nginx proxy config (modify as needed for libre-soc.org):
server {
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
server_name build.programmerjake.tk;
ssl_certificate /etc/letsencrypt/live/programmerjake.tk/fullchain.pem;
ssl_certificate_key
/etc/letsencrypt/live/programmerjake.tk/privkey.pem;
# Redirect non-https traffic to https
if ($scheme != "https") {
return 301 https://$host$request_uri;
}
location / {
proxy_pass http://jacob-build-server.programmerjake.tk/;
}
}
Modifications needed:
* build.programmerjake.tk will need to be replaced with build.libre-soc.org
* ssl cert paths need to be adjusted
* proxy_pass needs to have the domain name replaced with 10.6.0.7
Additional steps:
* set up build.libre-soc.org to point to libre-soc.org's server
* add a ssl certificate, or re-issue the existing one but with
build.libre-soc.org added as a subject alternate name.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list