docs(public): sanitize release materials
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
<h1>Proxmox Web Gateway</h1>
|
||||
<p class="lead">
|
||||
Единая стартовая точка для web-сервисов контура на Proxmox host
|
||||
<strong>10.10.10.2</strong>. Внешний вход закрыт gateway-auth,
|
||||
<strong>192.0.2.2</strong>. Внешний вход закрыт gateway-auth,
|
||||
а основные операторские страницы идут через reverse proxy без выдачи
|
||||
внутренних адресов наружу.
|
||||
</p>
|
||||
|
||||
@@ -6,7 +6,7 @@ map $http_upgrade $connection_upgrade {
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name {{ proxmox_web_gateway_public_hostname }} 10.10.10.2 <WAN_OR_EXTERNAL_IP> _;
|
||||
server_name {{ proxmox_web_gateway_public_hostname }} 192.0.2.2 <WAN_OR_EXTERNAL_IP> _;
|
||||
|
||||
access_log /var/log/nginx/proxmox-web-gateway.access.log;
|
||||
error_log /var/log/nginx/proxmox-web-gateway.error.log;
|
||||
@@ -17,7 +17,7 @@ server {
|
||||
server {
|
||||
listen 443 ssl http2 default_server;
|
||||
listen [::]:443 ssl http2 default_server;
|
||||
server_name {{ proxmox_web_gateway_public_hostname }} 10.10.10.2 <WAN_OR_EXTERNAL_IP> _;
|
||||
server_name {{ proxmox_web_gateway_public_hostname }} 192.0.2.2 <WAN_OR_EXTERNAL_IP> _;
|
||||
|
||||
access_log /var/log/nginx/proxmox-web-gateway.access.log;
|
||||
error_log /var/log/nginx/proxmox-web-gateway.error.log;
|
||||
@@ -67,32 +67,32 @@ server {
|
||||
location /api/0/ {
|
||||
proxy_set_header Origin "";
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5600;
|
||||
proxy_pass http://192.0.2.13:5600;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /r/grafana/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000/;
|
||||
proxy_redirect http://10.10.10.11:3000/ /r/grafana/;
|
||||
proxy_pass http://192.0.2.11:3000/;
|
||||
proxy_redirect http://192.0.2.11:3000/ /r/grafana/;
|
||||
}
|
||||
|
||||
location = /login {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location = /logout {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /public/ {
|
||||
proxy_set_header Origin "";
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
@@ -103,138 +103,138 @@ server {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_set_header Origin "";
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /apis/ {
|
||||
proxy_set_header Origin "";
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /d/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /dashboards {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /dashboard/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /avatar/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /profile/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /org/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /user/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /plugins/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /explore {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /alerting/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /connections/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /datasources/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.11:3000;
|
||||
proxy_pass http://192.0.2.11:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /r/aw/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5600/;
|
||||
proxy_redirect http://10.10.10.13:5600/ /r/aw/;
|
||||
proxy_pass http://192.0.2.13:5600/;
|
||||
proxy_redirect http://192.0.2.13:5600/ /r/aw/;
|
||||
}
|
||||
|
||||
location /reports/worktime/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5610;
|
||||
proxy_pass http://192.0.2.13:5610;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location = /dark.css {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5600;
|
||||
proxy_pass http://192.0.2.13:5600;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /css/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5600;
|
||||
proxy_pass http://192.0.2.13:5600;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location = /js/aw-worktime-panel.js {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5600;
|
||||
proxy_pass http://192.0.2.13:5600;
|
||||
proxy_redirect off;
|
||||
sub_filter_once off;
|
||||
sub_filter_types application/javascript text/javascript;
|
||||
sub_filter 'http://10.10.10.13:5610' '';
|
||||
sub_filter 'http://192.0.2.13:5610' '';
|
||||
}
|
||||
|
||||
location /js/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5600;
|
||||
proxy_pass http://192.0.2.13:5600;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /img/ {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5600;
|
||||
proxy_pass http://192.0.2.13:5600;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
@@ -242,7 +242,7 @@ server {
|
||||
auth_basic off;
|
||||
proxy_set_header Origin "";
|
||||
proxy_set_header Authorization "";
|
||||
proxy_pass http://10.10.10.13:5600;
|
||||
proxy_pass http://192.0.2.13:5600;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
@@ -264,7 +264,7 @@ server {
|
||||
location ^~ /portal/api/dlp/evidence {
|
||||
proxy_set_header Authorization "";
|
||||
proxy_set_header X-Remote-User $remote_user;
|
||||
proxy_pass http://10.10.10.13:8721/api/dlp/evidence;
|
||||
proxy_pass http://192.0.2.13:8721/api/dlp/evidence;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user