Skip to content

Files

Latest commit

Apr 22, 2023
aae5a86 · Apr 22, 2023

History

History
40 lines (33 loc) · 1.26 KB

README.md

File metadata and controls

40 lines (33 loc) · 1.26 KB

hideipnetwork-web

GitHub stilleshan/dockerfiles
Docker stilleshan/hideipnetwork-web

docker image support for X86 and ARM

简介

基于 node 的在线浏览器项目的 docker 镜像.

使用

docker

docker run -d --name hideipnetwork -p 56559:56559 stilleshan/hideipnetwork-web

访问127.0.0.1:56559

docker compose

下载 docker-compose.yml 执行以下命令启动:

docker-compose up -d

反向代理参考

    location / {
        proxy_pass http://127.0.0.1:56559;
        proxy_set_header  Host                $http_host;
        proxy_set_header  X-Real-IP           $remote_addr;
        proxy_set_header  X-Forwarded-Ssl     on;
        proxy_set_header  X-Forwarded-For     $proxy_add_x_forwarded_for;
        proxy_set_header  X-Forwarded-Proto   $scheme;
        proxy_set_header  X-Frame-Options     SAMEORIGIN;

        proxy_set_header  Upgrade             $http_upgrade;
        proxy_set_header  Connection          upgrade;
    }

参考