proyectos:linuxservidor-sso
Diferencias
Muestra las diferencias entre dos versiones de la página.
Próxima revisión | Revisión previa | ||
proyectos:linuxservidor-sso [2021/05/04 06:20] – creado manuel.floresv | proyectos:linuxservidor-sso [2022/04/10 04:36] (actual) – [Referencias] manuel.floresv | ||
---|---|---|---|
Línea 3: | Línea 3: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ====== Keycloak ====== | ||
+ | <code bash> | ||
+ | apt install unzip openjdk-11-jre | ||
+ | wget https:// | ||
+ | |||
+ | ./ | ||
+ | |||
+ | apt install nginx-full | ||
+ | rm / | ||
+ | nano / | ||
+ | </ | ||
+ | <code nginx> | ||
+ | server { | ||
+ | listen 80; | ||
+ | | ||
+ | proxy_set_header X-Forwarded-For $proxy_protocol_addr; | ||
+ | proxy_set_header X-Forwarded-Proto $scheme; # to forward the original protocol (HTTP or HTTPS) | ||
+ | proxy_set_header Host $host; # to forward the original host requested by the client | ||
+ | | ||
+ | location / { | ||
+ | root / | ||
+ | try_files $uri $uri/ / | ||
+ | } | ||
+ | location /auth { | ||
+ | proxy_pass http:// | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | ln -s / | ||
+ | systemctl | ||
+ | </ | ||
+ | |||
+ | http:// | ||
+ | |||
+ | Crear el usuario y comenzar a configurar | ||
+ | |||
+ | ====== Authelia ====== | ||
+ | |||
+ | Crear los registros de dns para: | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | Instalar authelia y probarlo de forma local | ||
+ | |||
+ | <code bash> | ||
+ | git clone https:// | ||
+ | |||
+ | cd authelia/ | ||
+ | |||
+ | git checkout $(git describe --tags `git rev-list --tags --max-count=1`) | ||
+ | |||
+ | ./setup.sh | ||
+ | |||
+ | </ | ||
+ | ====== Referencias ====== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
proyectos/linuxservidor-sso.1620109209.txt.gz · Última modificación: por manuel.floresv