Activated redirect for yourls homepage to admin pannel

This commit is contained in:
2025-08-07 12:59:54 +02:00
parent 7f53cc3a12
commit 051e4accd6
4 changed files with 21 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
application:
{% set container_port = 80 %}
{% set container_healthcheck = 'http://127.0.0.1/admin/' %}
{% set container_healthcheck = 'http://127.0.0.1' ~ yourls_admin_location %}
image: "{{ yourls_image }}:{{ yourls_version }}"
container_name: "{{ yourls_container }}"
{% include 'roles/docker-container/templates/base.yml.j2' %}

View File

@@ -0,0 +1,3 @@
location = / {
return 301 {{ yourls_admin_location }};
}