From bffcfe7e9f8da61409dd5b9758943ba6b3bd8562 Mon Sep 17 00:00:00 2001 From: mrwho Date: Wed, 15 Jul 2026 23:38:52 +0300 Subject: [PATCH] git --- playbooks/mrwho/router-nginx.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/playbooks/mrwho/router-nginx.yml b/playbooks/mrwho/router-nginx.yml index 0b2dee0..7ae197f 100644 --- a/playbooks/mrwho/router-nginx.yml +++ b/playbooks/mrwho/router-nginx.yml @@ -105,6 +105,21 @@ locations: - location: / target: "http://172.20.21.201:10002" + + - virthost_name: git.local.mrwho.ru + server_name: git.local.mrwho.ru + ssl_enabled: true + ssl_only: true + nginx_ssl_cert_file: '/etc/letsencrypt/live/mrwho.ru/fullchain.pem' + nginx_ssl_cert_key: '/etc/letsencrypt/live/mrwho.ru/privkey.pem' + server_tokens: "off" + proxy_standard_setup: true + proxy_additional_options: + - proxy_cache_path /tmp/nginx_cache levels=1:2 keys_zone=cache:30m max_size=250m; + locations: + - location: / + target: "http://172.20.21.201:10003" + ###### Firewalld configuration ###### firewall: # - previous: replaced # flush previous rules