This commit is contained in:
mrwho 2026-05-10 19:52:57 +03:00
parent 16bb2758da
commit 2c231e25df
2 changed files with 31 additions and 7 deletions

View file

@ -49,19 +49,24 @@
- name: 'local.mrwho.ru' - name: 'local.mrwho.ru'
type: primary type: primary
primaries: primaries:
- 212.60.5.162 - 172.20.21.100
certbot_key: "CerbotKey" certbot_key: "CerbotKey"
also_notify: # also_notify:
- 212.60.5.162 # - 212.60.5.162
- 80.211.195.127 # - 80.211.195.127
name_servers: name_servers:
- ns1.mrwho.ru. - router.local.mrwho.ru.
- ns2.mrwho.ru.
hosts: hosts:
- name: ns
ip: 172.20.21.100
- name: local.mrwho.ru. - name: local.mrwho.ru.
ip: 172.20.21.100 ip: 172.20.21.100
- name: router - name: router
ip: 172.20.21.100 ip: 172.20.21.100
aliases:
- git
- name: portainer
ip: 172.20.21.100
- name: ca - name: ca
ip: 172.20.21.99 ip: 172.20.21.99
- name: opensearch - name: opensearch
@ -72,5 +77,7 @@
ip: 172.20.21.103 ip: 172.20.21.103
- name: gitlab - name: gitlab
ip: 172.20.21.104 ip: 172.20.21.104
- name: git - name: pod01
ip: 172.20.21.105 ip: 172.20.21.105
- name: OpenShift01
ip: 172.20.21.106

View file

@ -57,6 +57,23 @@
- location: / - location: /
target: "http://172.20.21.105:3000" target: "http://172.20.21.105:3000"
- virthost_name: portainer.local.mrwho.ru
listen: "80"
server_name: portainer.local.mrwho.ru
# index: index.php
# error_page: /path_to_error_page.html
ssl_enabled: true
ssl_only: true
# ssl_letsencrypt_certs: "{{ nginx_letsencrypt_managed }}"
# root: "{{ nginx_webroot }}"
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: "https://172.20.21.105:9443"
###### Firewalld configuration ###### ###### Firewalld configuration ######
firewall: firewall:
# - previous: replaced # flush previous rules # - previous: replaced # flush previous rules