File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,12 @@ Volume 是 Docker 最推薦存放 persisting data( 數據 )的機制,因
7676
7777便是常講的 domain。
7878
79+ # DoH (DNS over HTTPS)
80+
81+ 是 DoT 的替代方案。使用 DoH 時,DNS 查詢和回應會加密,但它們是透過 HTTP 或 HTTP/2 通訊協定傳送,而不是直接透過 UDP 傳送。確保攻擊者無法偽造或更改 DNS 流量。從網路管理員的角度來看,DoH 流量表現為與其他 HTTPS 流量一樣,如普通使用者與網站和 Web 應用程式進行的互動。
82+
83+ 參考 [ DNS over TLS 與 DNS over HTTPS | 保護 DNS] ( https://www.cloudflare.com/zh-tw/learning/dns/dns-over-tls/ )
84+
7985# CDN (內容傳遞網路)
8086
8187是一組地理上分散的伺服器,用於在靠近終端使用者的位置快取內容。能有效緩解 DDoS 攻擊,避免源站伺服器遭受攻擊,導致服務中斷或伺服器癱瘓等問題發生。
Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ docker run -p 80:80 -d --name my_container nginx
3030-d 容器啟動後會進入背景執行。
3131-\- name 可以為容器自訂命名。
3232
33+ 新建並啟動 container,並指定掛載資料夾
34+ ``` bash
35+ docker run -p 80:80 -p 443:443 -d -v /D/data:/var/www/html/data --name my_container nginx
36+ ```
37+ -v 用來掛載本機資料夾到容器,此處的 /D/data 便是 D:\data,冒號後面的 /var/www/html/data 為容器內對應的資料夾。
38+
3339進入 container
3440``` bash
3541docker exec -it my_container bash
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ comments: false
2020# 其他
2121
2222- IoT:玩過樹莓派、Arduino、D1 mini、ESP32,[ 作品集] ( /iot-works )
23- - Git:團隊開發有用到,跑過 code review 加 merge,以及 Git flow
2423- Blender:因興趣自學,[ 作品集] ( /blender-works )
2524- 3D列印:[ 作品集] ( /3d-print-works )
2625
You can’t perform that action at this time.
0 commit comments