Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:install_authelia_on_debian_without_docker [2026-08-20 15:23] – iacchi | en:install_authelia_on_debian_without_docker [2026-08-20 15:37] (current) – iacchi | ||
|---|---|---|---|
| Line 318: | Line 318: | ||
| Authelia comes with a systemd service file that needs to be enabled and then edited to allow for the secrets templating that we used in the configuration file to work. Rather than editing the file directly (which would get overwritten in subsequent updates), we'll use systemd tools to do it properly. First, let's enable the service: | Authelia comes with a systemd service file that needs to be enabled and then edited to allow for the secrets templating that we used in the configuration file to work. Rather than editing the file directly (which would get overwritten in subsequent updates), we'll use systemd tools to do it properly. First, let's enable the service: | ||
| - | < | + | < |
| cd / | cd / | ||
| systemctl enable authelia.service | systemctl enable authelia.service | ||
| Line 326: | Line 326: | ||
| Your default cli text editor will open at this point. We'll need to put our modifications at the top, between the first and the second comment block. This is what to add: | Your default cli text editor will open at this point. We'll need to put our modifications at the top, between the first and the second comment block. This is what to add: | ||
| - | < | + | < |
| [Service] | [Service] | ||
| Environment=X_AUTHELIA_CONFIG_FILTERS=template | Environment=X_AUTHELIA_CONFIG_FILTERS=template | ||
| Line 374: | Line 374: | ||
| add_header X-Permitted-Cross-Domain-Policies none; | add_header X-Permitted-Cross-Domain-Policies none; | ||
| | | ||
| - | set $upstream http://localhost:9091; | + | set $upstream http://127.0.0.1:9091; |
| location / { | location / { | ||
| Line 410: | Line 410: | ||
| <code bash> | <code bash> | ||
| - | ln -s / | + | ln -s / |
| systemctl restart nginx | systemctl restart nginx | ||
| </ | </ | ||
| Authelia should now be available at https:// | Authelia should now be available at https:// | ||