mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
cf16272a73
ACLs can now be defined by subdomain AND resource using pattern matching with regular expressions. It allows a very fine-grained access control to backend resources. [Note] For using example environmnent, user must update its /etc/hosts with new subdomains updated in README.
22 lines
487 B
YAML
22 lines
487 B
YAML
version: '2'
|
|
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
volumes:
|
|
- ./example/nginx/html:/usr/share/nginx/html
|
|
- ./example/nginx/ssl:/etc/ssl
|
|
- ./example/nginx/nginx.conf:/etc/nginx/nginx.conf
|
|
ports:
|
|
- "8080:443"
|
|
depends_on:
|
|
- authelia
|
|
networks:
|
|
- example-network
|
|
# aliases:
|
|
# - home.test.local
|
|
# - public.test.local
|
|
# - admin.test.local
|
|
# - dev.test.local
|
|
# - auth.test.local
|
|
|