| 13 Jan 2023 |
| * @grahamc:nixos.org logs onto a hydra box so he can try it | 17:56:59 |
K900 | It it now just Host: long.and.serious.domain.name? | 17:57:11 |
K900 | * Is it not just Host: long.and.serious.domain.name? | 17:57:15 |
K900 | That's what I'd expect anyway | 17:57:18 |
ajs124 | just use recommendedproxyheaders or whatever that's called | 17:57:19 |
wucke13 | In reply to @k900:0upti.me Is it not just Host: long.and.serious.domain.name? Yes :) | 17:58:13 |
@grahamc:nixos.org |
The X-Forwarded-For (XFF) request header is a de-facto standard header for identifying the originating IP address of a client connecting to a web server through a proxy server.
d'oh, that was the wrong one entirely
| 17:58:33 |
wucke13 | grahamc (he/him): K900 thank you two 😄 | 17:58:30 |
@grahamc:nixos.org | here are the headers we expect:
proxy_set_header Host $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;
proxy_set_header X-Request-Base /hydra;
| 17:58:42 |
@grahamc:nixos.org | so indeed just Host | 17:58:49 |
@grahamc:nixos.org | sorry for the wildly misleading info :D | 17:58:56 |
wucke13 | That works like a charm. Thank you for the snippet :) | 18:00:27 |
@grahamc:nixos.org | https://github.com/NixOS/hydra/blob/master/doc/manual/src/configuration.md#serving-behind-reverse-proxy | 18:01:26 |
wucke13 | Check. How would the Open GitLab Merge requests input type work in combination with a login-only gitlab instance? Can I use a project access token to make it work? | 18:10:56 |
| 14 Jan 2023 |
| Nick Cao joined the room. | 13:16:52 |
| 15 Jan 2023 |
void | any pointers on building home-manager users stuff on hydra? like a small nix file to evaluate ;) | 08:09:35 |
void | Im recompiling chromium all the time ;( | 08:09:55 |
shawn8901 | In reply to @void68:matrix.org Im recompiling chromium all the time ;( Did you override the unwrapped package? If yes, then this is likely the reason you have to compile it. | 13:48:33 |
Amanda (she/her) | or if you'reon the small channel | 13:48:52 |
shawn8901 | Yeah true that's another likely reason :) | 13:49:37 |
shawn8901 | But if your question goes more in the area "how to build my own things on my own hydra instance" if you are on a flake you have to have the thing you want to build in the hydraJobs output | 13:51:42 |
void | just for expression to eval home.nix in a job. | 22:49:20 |
void | * just looking for expression to eval home.nix in a job. | 22:49:27 |
| 16 Jan 2023 |
| Alexander Flurie changed their display name from flurie to Alexander Flurie. | 15:14:33 |
| 22 Jan 2023 |
| Mic92 left the room. | 20:53:57 |
| 24 Jan 2023 |
vcunat | Minor nit, probably easy to fix by someone who knows hydra's code base:
when showing commit hashes as e.g. "changes" in https://hydra.nixos.org/build/206632301
they're cut too short (6 chars) - and thus often they're not unique anymore in our huge nixpkgs repo. Just 7 would probably be quite good for some time for us. | 09:45:21 |
das_j | Yes | 09:45:43 |
das_j | https://github.com/NixOS/hydra/pull/1258 | 09:45:55 |
vcunat | Oh, and I thought I don't need to search because it's too simple 😄 | 09:47:55 |
das_j | In reply to @vcunat:matrix.org Oh, and I thought I don't need to search because it's too simple 😄 $ git rev-parse --short HEAD
d3aa3574382
| 10:16:04 |