Initial commit

This commit is contained in:
2021-05-06 00:03:31 +02:00
parent c158a21dfc
commit 4b7bbe556f
3 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,15 @@
provider = "github"
redirect_url = "https://auth.dev.local/oauth2/callback"
provider_display_name = "Gitea"
client_id = "8a433bb1-4da1-4948-a0f2-57a85e3b2cc5"
client_secret = "xMESmq2UwOsMKR8hei60XrU4s7nen3KL8ymVELivcb8="
login_url = "https://git.kucharczyk.xyz/login/oauth/authorize"
redeem_url = "https://git.kucharczyk.xyz/login/oauth/access_token"
validate_url = "https://git.kucharczyk.xyz/api/v1"
email_domains = [
"dev.local"
]
cookie_secret = "lVyySw_e0gb30CRU9nwGOA=="
reverse_proxy = "true"

View File

@ -0,0 +1,15 @@
server {
listen 443 default ssl;
server_name auth.dev.local;
add_header Strict-Transport-Security max-age=2592000;
location / {
proxy_pass http://127.0.0.1:4180;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_connect_timeout 1;
proxy_send_timeout 30;
proxy_read_timeout 30;
}
}