Giter Club home page Giter Club logo

Comments (11)

Dev-Wiki avatar Dev-Wiki commented on July 22, 2024

威联通的系统可以在线体验
QNAP 在线体验 | QNAP
https://www.qnap.com.cn/zh-cn/live-demo

from frpc.

stilleshan avatar stilleshan commented on July 22, 2024

贴frpc.ini 和容器配置

from frpc.

Dev-Wiki avatar Dev-Wiki commented on July 22, 2024
[common]
server_addr = xxx
server_port = xxx
token= xxx

# Admin UI 
admin_addr = 127.0.0.1
admin_port = xxx
admin_user = xxx
admin_pwd = xxx

# TCP 多路复用 
tcp_mux = false

# 连接池上限
max_pool_count = 1

[devwiki_nas]
type = http
local_ip=127.0.0.1
local_port=80
custom_domains = nas.devwiki.net

[devwiki_nas_https]
type = https
custom_domains = nas.devwiki.net
plugin = https2http
plugin_local_addr = 127.0.0.1:80
# HTTPS 证书相关的配置
plugin_crt_path = ./ssl/nas.crt
plugin_key_path = ./ssl/nas.key
plugin_host_header_rewrite = 127.0.0.1
plugin_header_X-From-Where = frp

配置, 容器配置 http 正常

image

image

from frpc.

Dev-Wiki avatar Dev-Wiki commented on July 22, 2024
[common]
server_addr = xxx
server_port = xxx
token= xxx

# Admin UI 
admin_addr = 127.0.0.1
admin_port = xxx
admin_user = xxx
admin_pwd = xxx

# TCP 多路复用 
tcp_mux = false

# 连接池上限
max_pool_count = 1

[devwiki_nas]
type = http
local_ip=127.0.0.1
local_port=80
custom_domains = nas.devwiki.net

[devwiki_nas_https]
type = https
custom_domains = nas.devwiki.net
plugin = https2http
plugin_local_addr = 127.0.0.1:80
# HTTPS 证书相关的配置
plugin_crt_path = ./ssl/nas.crt
plugin_key_path = ./ssl/nas.key
plugin_host_header_rewrite = 127.0.0.1
plugin_header_X-From-Where = frp

配置, 容器配置 http 正常

image

image

本地使用 windows系统按照上述配置是可以的, https 也正常

from frpc.

stilleshan avatar stilleshan commented on July 22, 2024

把证书挂在到容器里,在把 plugin_crt_path 和 plugin_key_path 的路径改为容器内的路径.

from frpc.

Dev-Wiki avatar Dev-Wiki commented on July 22, 2024

把证书挂在到容器里,在把 plugin_crt_path 和 plugin_key_path 的路径改为容器内的路径.

增加 这两个路径 映射到 文件路径里面么?

from frpc.

Dev-Wiki avatar Dev-Wiki commented on July 22, 2024

威联通的这个容器自己是没有存储路径的, 是需要映射本地的文件夹路径. 比如
nas盘的: /share/Container/container-station-data/application/frp, 对应为 frpc 的 /frpc 文件夹

from frpc.

stilleshan avatar stilleshan commented on July 22, 2024

那路径就是 /frp/ssl/nas.crt

from frpc.

Dev-Wiki avatar Dev-Wiki commented on July 22, 2024

那路径就是 /frp/ssl/nas.crt

对对, 我就改成这样了, 可以了 谢谢, 我整理下, 使用你的镜像, 我写个教程文章

from frpc.

Dev-Wiki avatar Dev-Wiki commented on July 22, 2024

这个可以关闭了

from frpc.

Dev-Wiki avatar Dev-Wiki commented on July 22, 2024

这个可以关闭了

from frpc.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.