|
Size: 1160
Comment:
|
Size: 1194
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 26: | Line 26: |
== NGINX Reverse PROXY_PASS == |
Describe désert/Linux/frp_proxy here.
Server side
root@ip-172-26-3-168:/etc/frps# for i in $(ls *.ini); do cat $i; done # frps-hpe-ssh.ini [common] bind_port = 301 # frps-moinmoin.ini [common] bind_port = 304 vhost_http_port = 604 # frps-moinmoin.ini [common] bind_port = 603 vhost_http_port = 80 # frps-raspberry-ssh.ini [common] bind_port = 302 # frps-wiki-js.ini [common] bind_port = 300 vhost_http_port = 3000
NGINX Reverse PROXY_PASS
Client side
raspberry MOINMOIN
# frpc-moinmoin.ini [moinmoin] type = http local_port = 807 custom_domains = www.brightmoon.top [common] server_addr = www.brightmoon.top server_port = 304
root@raspberrypi:~# cat /usr/local/frpc/frpc-ssh.ini # frpc-ssh.ini [common] server_addr = www.brightmoon.top server_port = 302 #tls_enable = true [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 602
WIKI.JS
root@wiki:~# grep -v ^# /usr/local/frpc/frpc-wiki.ini [wiki.js] type = http local_port = 3000 custom_domains = wiki.brightmoon.top [common] server_addr = www.brightmoon.top server_port = 300
