fix proto

This commit is contained in:
Den Piligrim
2026-04-08 02:06:16 +03:00
parent 21a8c59d16
commit c1602c07b2
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ name: Docker Build & Publish
on:
push:
branches: [ "main", "dp-new-release" ]
branches: [ "main" ]
workflow_dispatch:
env:
+3 -1
View File
@@ -6,7 +6,7 @@ set -euo pipefail
#################################
PROJECT_DIR="/opt/3dp-manager"
DOCKER_USER="denpiligrim"
DOCKER_TAG="dp-new-release"
DOCKER_TAG="main"
IMAGE_SERVER="ghcr.io/${DOCKER_USER}/3dp-manager-server:${DOCKER_TAG}"
IMAGE_CLIENT="ghcr.io/${DOCKER_USER}/3dp-manager-client:${DOCKER_TAG}"
@@ -456,6 +456,7 @@ server {
proxy_set_header Host \$http_host;
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$scheme;
proxy_connect_timeout 10s;
proxy_send_timeout 650s;
proxy_read_timeout 650s;
@@ -566,6 +567,7 @@ server {
proxy_cache_bypass \$http_upgrade;
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$scheme;
proxy_connect_timeout 10s;
proxy_send_timeout 650s;
proxy_read_timeout 650s;
+1 -1
View File
@@ -55,7 +55,7 @@ export class TunnelsService {
`Начинаем установку редиректа на ${tunnel.ip} -> ${mainServerIp}`,
);
const command = `sudo ORIGIN_IP="${mainServerIp}" bash -c "$(curl -sSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-new-release/forwarding_install.sh)"`;
const command = `sudo ORIGIN_IP="${mainServerIp}" bash -c "$(curl -sSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)"`;
try {
const output = await this.sshService.executeCommand(