Note:
共筆:https://hackmd.io/wXaMu-2MQc2ezyM-rLbbAg
Image Not Showing
Possible Reasons
|
|
# 基礎用法
ssh -R 80:localhost:3000 serveo.net
# 存取不在本機上的 server
ssh -R 80:example.com:80 serveo.net
# 指定子網域
ssh -R incubo:80:localhost:8888 serveo.net
# 避免 ssh 逾時
ssh -o ServerAliveInterval=60 -R 80:localhost:8888 serveo.net
# 斷線自動重連
autossh -M 0 -R 80:localhost:8888 serveo.net
docker-compose.yml
version: '2'
services:
serveo:
image: taichunmin/serveo:latest
tty: true
stdin_open: true
# see https://serveo.net/ for more options
command: >
autossh -M 0
-o ServerAliveInterval=60
-o ServerAliveCountMax=3
-o ExitOnForwardFailure=yes
-o StrictHostKeyChecking=no
-R 80:nginx:80
serveo.net
nginx:
image: nginx:latest
https://github.com/taichunmin/coscup-2019-demo
version: '2'
services:
serveo:
image: taichunmin/serveo:latest
tty: true
stdin_open: true
# Docker for Windows / macOS
command: >
autossh -M 0
-o ServerAliveInterval=60
-o ServerAliveCountMax=3
-o ExitOnForwardFailure=yes
-o StrictHostKeyChecking=no
-R 80:host.docker.internal:3000
serveo.net
version: '2'
services:
serveo:
image: taichunmin/serveo:latest
tty: true
stdin_open: true
# Docker for Linux
command: >
HOST_DOMAIN=`ip route|awk '/default/ { print $3 }'`
autossh -M 0
-o ServerAliveInterval=60
-o ServerAliveCountMax=3
-o ExitOnForwardFailure=yes
-o StrictHostKeyChecking=no
-R 80:$HOST_DOMAIN:3000
serveo.net
https://github.com/taichunmin/coscup-2019-demo
https://github.com/taichunmin/coscup-2019-demo
⇨ 歡迎中部的朋友 加入我們
Image Not Showing
Possible Reasons
|
功能
Image Not Showing
Possible Reasons
|
⇨ 請洽 夢森林粉絲專頁小編
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing