changed domain to akanealw
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
EMAIL=akanealw@gmail.com # Your email for SSL cert
|
||||
CF_API_TOKEN=vGUPDgbV_61VAAnDV352Y4qTadmHf2m5ltJWFf-U # Get your token from Cloudflare
|
||||
AUTH_HOST_INTERNAL=authelia:9091 # Authelia container name and port
|
||||
AUTH_HOST_EXTERNAL=auth.akanealw2.com # Public facing domain of Authelia
|
||||
AUTH_HOST_EXTERNAL=auth.akanealw.com # Public facing domain of Authelia
|
||||
|
||||
@@ -28,7 +28,7 @@ services:
|
||||
AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE: /config/secrets/STORAGE_PASSWORD
|
||||
AUTHELIA_SESSION_REDIS_PASSWORD_FILE: /config/secrets/REDIS_PASSWORD
|
||||
labels:
|
||||
caddy: auth.akanealw2.com # Public facing subdomain of Authelia
|
||||
caddy: auth.akanealw.com # Public facing subdomain of Authelia
|
||||
caddy.reverse_proxy: "{{upstreams 9091}}" # Authelia container port
|
||||
|
||||
postgres:
|
||||
@@ -98,7 +98,7 @@ services:
|
||||
# Secure a site with Authelia
|
||||
caddy_2: (auth)
|
||||
caddy_2.forward_auth: "authelia:9091"
|
||||
caddy_2.forward_auth.uri: /api/verify?rd=https://auth.akanealw2.com
|
||||
caddy_2.forward_auth.uri: /api/verify?rd=https://auth.akanealw.com
|
||||
caddy_2.forward_auth.copy_headers : Remote-User Remote-Groups Remote-Name Remote-Email
|
||||
|
||||
# Skip TLS verify for backend with self-signed HTTPS
|
||||
@@ -121,14 +121,14 @@ services:
|
||||
# acme_ca: "https://acme-staging-v02.api.letsencrypt.org/directory" # Staging
|
||||
|
||||
## Setup wildcard sites
|
||||
caddy_10: "*.akanealw2.com" # Change to your domain
|
||||
caddy_10: "*.akanealw.com" # Change to your domain
|
||||
caddy_10.import: wildcard
|
||||
|
||||
# Add our first site, which this container itself
|
||||
caddy_20: whoami.akanealw2.com # Subdomain using wildcard cert
|
||||
caddy_20: whoami.akanealw.com # Subdomain using wildcard cert
|
||||
caddy_20.reverse_proxy: "{{upstreams 80}}" # Container port
|
||||
caddy_20.import: auth # Enable protection by Authelia
|
||||
|
||||
caddy_100: akanealw2.com # Subdomain using wildcard cert
|
||||
caddy_100.reverse_proxy: 192.168.1.30:3005 # LAN IP and port
|
||||
caddy_100.import: auth # Enable protection by Authelia
|
||||
caddy_3005: akanealw.com # Subdomain using wildcard cert
|
||||
caddy_3005.reverse_proxy: 192.168.1.30:3005 # LAN IP and port
|
||||
caddy_3005.import: auth # Enable protection by Authelia
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Miscellaneous https://www.authelia.com/configuration/miscellaneous/introduction/
|
||||
# Set also AUTHELIA_JWT_SECRET_FILE
|
||||
theme: auto
|
||||
default_redirection_url: https://auth.akanealw2.com/ # Change me!
|
||||
default_redirection_url: https://auth.akanealw.com/
|
||||
|
||||
# First Factor https://www.authelia.com/configuration/first-factor/file/
|
||||
authentication_backend:
|
||||
@@ -10,7 +10,7 @@ authentication_backend:
|
||||
|
||||
# Second Factor https://www.authelia.com/configuration/second-factor/introduction/
|
||||
totp:
|
||||
issuer: akanealw2.com # Change me!
|
||||
issuer: akanealw.com
|
||||
|
||||
# Security https://www.authelia.com/configuration/security/access-control/
|
||||
access_control:
|
||||
@@ -19,7 +19,7 @@ access_control:
|
||||
# Session https://www.authelia.com/configuration/session/introduction/
|
||||
# Set also AUTHELIA_SESSION_SECRET_FILE
|
||||
session:
|
||||
domain: akanealw2.com # Change me!
|
||||
domain: akanealw.com
|
||||
|
||||
# https://www.authelia.com/configuration/session/redis/
|
||||
# Set also AUTHELIA_SESSION_REDIS_PASSWORD_FILE if appropriate
|
||||
@@ -40,7 +40,7 @@ storage:
|
||||
# Set also AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE
|
||||
notifier:
|
||||
smtp:
|
||||
host: smtp.gmail.com # Change me!
|
||||
port: 587 # Change me!
|
||||
username: akanealw@gmail.com # Change me!
|
||||
sender: "Authelia <akanealw@gmail.com>" # Change me!
|
||||
host: smtp.gmail.com
|
||||
port: 587
|
||||
username: akanealw@gmail.com
|
||||
sender: "Authelia <akanealw@gmail.com>"
|
||||
|
||||
Reference in New Issue
Block a user