feat: add GitHub sign-in and channel webhooks

This commit is contained in:
Loki 2026-10-24 15:02:42 +02:00
parent 45e89f9826
commit ff9c8f330e
Signed by: boba
GPG key ID: 253067914055423B
36 changed files with 3240 additions and 24 deletions

View file

@ -6,6 +6,7 @@ server {
root /var/www/vnox-acme;
default_type text/plain;
}
location ^~ /v1/auth/ { access_log off; error_log /dev/null; return 400; }
location / { return 301 https://central.loki-code.dev$request_uri; }
}
server {
@ -19,6 +20,19 @@ server {
client_max_body_size 1m;
add_header X-Content-Type-Options nosniff always;
add_header Referrer-Policy no-referrer always;
# OAuth codes/state must never enter access or upstream error logs.
location ^~ /v1/auth/ {
access_log off;
error_log /dev/null;
proxy_pass http://127.0.0.1:37623;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Connection "";
proxy_connect_timeout 5s;
proxy_read_timeout 40s;
}
location / {
proxy_pass http://127.0.0.1:37623;
proxy_http_version 1.1;