mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Activated redirect for yourls homepage to admin pannel
This commit is contained in:
@@ -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' %}
|
||||
|
3
roles/web-app-yourls/templates/redirect.conf.j2
Normal file
3
roles/web-app-yourls/templates/redirect.conf.j2
Normal file
@@ -0,0 +1,3 @@
|
||||
location = / {
|
||||
return 301 {{ yourls_admin_location }};
|
||||
}
|
Reference in New Issue
Block a user