Renamed cymais to infinito and did some other optimations and logout implementations

This commit is contained in:
2025-07-29 16:35:42 +02:00
parent a9e7ed3605
commit 44e0fea0b2
499 changed files with 1740 additions and 1587 deletions

View File

@@ -0,0 +1,7 @@
features:
matomo: true
css: true
port-ui-desktop: true
domains:
canonical:
- "cdn.{{ primary_domain }}"

View File

@@ -0,0 +1,30 @@
---
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: |
Configures an Nginx-based Content Delivery Network Server.
license: "Infinito.Nexus NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world
min_ansible_version: "2.9"
platforms:
- name: Archlinux
versions:
- rolling
galaxy_tags:
- nginx
- https
- file
- static-files
- ssl
- letsencrypt
- automation
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
documentation: "https://docs.infinito.nexus"
dependencies:
- srv-web-7-6-https
- dev-git

View File

@@ -0,0 +1,20 @@
---
- name: "include role for {{application_id}} to receive certs & do modification routines"
include_role:
name: srv-web-7-6-composer
vars:
domain: "{{ domains | get_domain(application_id) }}"
http_port: "{{ ports.localhost.http[application_id] }}"
when: run_once_web_svc_cdn is not defined
- name: "generate {{domains | get_domain(application_id)}}.conf"
template:
src: "nginx.conf.j2"
dest: "{{ nginx.directories.http.servers }}{{ domains | get_domain(application_id) }}.conf"
notify: restart openresty
when: run_once_web_svc_cdn is not defined
- name: run the web svc cdn tasks once
set_fact:
run_once_web_svc_cdn: true
when: run_once_web_svc_cdn is not defined

View File

@@ -0,0 +1,27 @@
server
{
server_name {{domains | get_domain(application_id)}};
{% include 'roles/srv-web-7-7-letsencrypt/templates/ssl_header.j2' %}
{% include 'roles/srv-web-7-7-inj-compose/templates/server.conf.j2'%}
{% include 'roles/srv-proxy-7-4-core/templates/headers/content_security_policy.conf.j2' %}
charset utf-8;
location /
{
alias {{ nginx.directories.data.cdn }}; {# Path to your file directory #}
autoindex on; {# Enable directory listing #}
autoindex_exact_size off; {# Display sizes in a human-readable format #}
autoindex_localtime on; {# Show local time #}
{% include 'roles/srv-web-7-7-inj-compose/templates/location.lua.j2' %}
}
location /.well-known/ {
alias {{nginx.directories.data.well_known}};
allow all;
default_type "text/plain";
autoindex on;
}
}

View File

@@ -0,0 +1,2 @@
application_id: "web-svc-cdn"
domain: "{{ domains | get_domain(application_id) }}"