[GH-ISSUE #4468] Solution #2 #2862

Closed
opened 2026-02-26 07:37:01 +03:00 by kerem · 0 comments
Owner

Originally created by @TgSBot-xD on GitHub (Apr 3, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4468

2
chrony,
ansible + sshpass, в конфиге отключить проверку ключей ssh,
all:
vars:
ansible_python_interpreter: /usr/bin/python3

LNX:
hosts:
HQ-SRV:
ansible_host: 192.168.10.2
ansible_user: sshuser
ansible_port: 2024
HQ-CLI:
ansible_host: 192.168.10.66
ansible_user: user
vars:
ansible_password: P@ssw0rd

RTR:
hosts:
HQ-RTR:
ansible_host: 192.168.10.1
ansible_user: net_admin
BR-RTR:
ansible_host: 192.168.20.1
ansible_user: net_admin
vars:
ansible_connection: network_cli
ansible_network_os: ios
ansible_password: P@$$word,

яндекс,

скачать и включить nginx,
upstream moodle.au-team.irpo {
server 192.168.10.2;
}

upstream wiki.au-team.irpo {
server 192.168.20.2:8080;
}

server {
listen 80;
server_name moodle.au-team.irpo;

location / {
proxy_pass http://moodle.au-team.irpo;
}
}

server {
listen 80;
server_name wiki.au-team.irpo;

location / {
proxy_pass http://wiki.au-team.irpo;
}
}

cd /etc/nginx/sites-enabled.d/
ln -s ../sites-available.d/default.conf default.conf
systemctl restart nginx

Originally created by @TgSBot-xD on GitHub (Apr 3, 2025). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4468 2 chrony, ansible + sshpass, в конфиге отключить проверку ключей ssh, all: vars: ansible_python_interpreter: /usr/bin/python3 LNX: hosts: HQ-SRV: ansible_host: 192.168.10.2 ansible_user: sshuser ansible_port: 2024 HQ-CLI: ansible_host: 192.168.10.66 ansible_user: user vars: ansible_password: P@ssw0rd RTR: hosts: HQ-RTR: ansible_host: 192.168.10.1 ansible_user: net_admin BR-RTR: ansible_host: 192.168.20.1 ansible_user: net_admin vars: ansible_connection: network_cli ansible_network_os: ios ansible_password: P@$$word, яндекс, скачать и включить nginx, upstream moodle.au-team.irpo { server 192.168.10.2; } upstream wiki.au-team.irpo { server 192.168.20.2:8080; } server { listen 80; server_name moodle.au-team.irpo; location / { proxy_pass http://moodle.au-team.irpo; } } server { listen 80; server_name wiki.au-team.irpo; location / { proxy_pass http://wiki.au-team.irpo; } } cd /etc/nginx/sites-enabled.d/ ln -s ../sites-available.d/default.conf default.conf systemctl restart nginx
kerem closed this issue 2026-02-26 07:37:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2862
No description provided.