Solved status codes bug

This commit is contained in:
2025-08-07 15:46:56 +02:00
parent 3eb51a32ce
commit 7d63d92166
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ server:
unsafe-inline: true
locations:
admin: "/admin/"
status_code:
status_codes:
landingpage: 301
docker:
services:

View File

@@ -9,7 +9,7 @@ yourls_version: "{{ applications | get_app_conf(application_id,
yourls_image: "{{ applications | get_app_conf(application_id, 'docker.services.yourls.image', True) }}"
yourls_container: "{{ applications | get_app_conf(application_id, 'docker.services.yourls.name', True) }}"
yourls_admin_location: "{{ applications | get_app_conf(application_id, 'server.locations.admin', True) }}"
yourls_landingpage_status_code: "{{ applications | get_app_conf(application_id, 'server.status_code.landingpage', True) }}"
yourls_landingpage_status_code: "{{ applications | get_app_conf(application_id, 'server.status_codes.landingpage', True) }}"
# Nginx Specific
proxy_extra_configuration: "{{ lookup('template', 'redirect.conf.j2') }}"