Hi all,
I'm trying to set up authelia for securing my reverse proxies. Got it up and running but it seems to refuse any connection to the proxies. See the log under here and my current config. (Replaced the domain and IP with xx and removed the secrets for privacy reasons )
Any help would be much appreciated because I'm completly new to authelia. Followed the guide on the Ibracorp site but here is where I stranded.. :')
LOG:
time="2023-03-28T15:14:38+02:00" level=info msg="Initializing server for non-TLS connections on '[::]:9091' path '/' and '/authelia'"
time="2023-03-28T15:14:45+02:00" level=info msg="Access to https://xx.xx.org/?rd=https%3A%2F%2Fxx.xx.org%2F%3Frd%3Dhttps%3A%2F%2Fxx.xx.org%2F (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=xxx.xxx.xxx.xx
###############################################################################
# Authelia Configuration #
###############################################################################
theme: dark
jwt_secret: ""
default_redirection_url:
server:
host: 0.0.0.0
port: 9091
path: "authelia"
read_buffer_size: 4096
write_buffer_size: 4096
enable_pprof: false
enable_expvars: false
disable_healthcheck: false
tls:
key: ""
certificate: ""
log:
level: info
totp:
issuer: duckdns.org
period: 30
skew: 1
authentication_backend:
password_reset:
disable: false
refresh_interval: 5m
file:
path: /config/users_database.yml
password:
algorithm: argon2id
iterations: 1
key_length: 32
salt_length: 16
memory: 1024
parallelism: 8
access_control:
default_policy: one_factor
rules:
## bypass rule
- domain:
- "xx.xx.org"
policy: bypass
## catch-all
- domain:
- "*.xx.org"
subject:
- "group:admins"
policy: one_factor
session:
name: authelia_session
domain: xx.org
same_site: lax
secret: ""
expiration: 1h
inactivity: 5m
remember_me_duration: 2M
redis:
host: x.x.x.x
port: 6379
password: ""
database_index: 0
maximum_active_connections: 10
minimum_idle_connections: 0
regulation:
max_retries: 5
find_time: 10m
ban_time: 3h
storage:
encryption_key: ""
mysql:
host: x.x.x.x
port: 3306
database: authelia1
username: authelia1
password: ""
notifier:
disable_startup_check: true
smtp:
username:
password: ""
host: smtp.office365.com
port: 587
sender:
identifier: localhost
subject: "[Authelia] {title}"
startup_check_address:
[email protected]
disable_require_tls: false
disable_html_emails: false
tls:
skip_verify: false
minimum_version: TLS1.2