feat: add GitHub sign-in and channel webhooks
This commit is contained in:
parent
45e89f9826
commit
ff9c8f330e
36 changed files with 3240 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue