Lỗi thường gặp khi triển khai ứng dụng:
- Thiếu biến môi trường
- Lỗi cú pháp Caddyfile
- Lỗi cấu hình mạng
- Vấn đề cụ thể của nền tảng
Hãy nhớ: thử nghiệm trên môi trường staging trước, sử dụng danh sách kiểm tra và đọc kỹ tài liệu nền tảng #TriểnKhaingDụng #LỗiThườngGặp #Caddyfile #SSL #DNS #Staging #Checklist #TàiLiệuNềnTảng #Deployment #DevOps #LậpTrình #PhátTriểnngDụng

https://www.reddit.com/r/SaaS/comments/1p5od5o/10_failed_deploys_and_the_lesson_behind_it/

@mape6 @hack13

yes my #homelab connects to the #vps

example #wireguard wg0.conf

# Homelab
[Interface]
Address = 10.200.200.1/32
PrivateKey = ***
ListenPort = 21841

# VPS
[Peer]
PublicKey = ***
Endpoint = VPS's.IP.Address:51820
AllowedIPs = 10.200.200.0/24

PersistentKeepalive = 25

#caddyfile

serve my home network
http://192.168.1.2 {
root * /var/www
file_server
}

serve my wireguard network
http://10.200.200.2 {
root * /var/www
file_server
}

@iturnedintoanewt nginx scares me. have you considered Caddy?

#Caddyfile
domain.com {
reverse_proxy localhost:8080
}

domain2.com {
reverse_proxy localhost:8080
}
https://caddyserver.com/docs/caddyfile

Caddy - The Ultimate Server with Automatic HTTPS

Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go

Caddy Web Server

@learnk8s fun fact: CoreDNS is based on (and was initially just a plug-in for it) Caddy 1, the nowadays famous webserver started (and back then mostly single-handedly developed) by @mholt

Caddy has greatly matured since then and the second generation brought some fundamental changes, but the Corefile format of CoreDNS is still straight-up derived from the original Caddyfile format.

#CoreDNS #CaddyServer #Caddy #Caddyfile #Corefile #K8S #Kubernetes

Are there any plugins for #phpstorm that support #Caddyfile syntax? Can't find any in the marketplace...

Hey, est-ce qu’il y a du monde qui utilise #Caddy comme serveur web, dans le coin? J’ai un soucis dont j’arrive pas à me dépêtrer et peut-être qu’il y a une solution simple que j’ignore.

En gros, j’ai un site domain.tld, qui doit aller chercher les fichiers dans /srv/www/domain.tld, et j’aimerais que quand on tape domain.tld/truc, caddy arrive à aller chercher les fichiers dans /srv/www/truc.

Tout est en pages HTML, pas besoin de reverse proxy.

Tout ce que j’essaye me renvoie du 302. Et mes permissions sont correctes pour les fichiers.

#boost fortement appréciés, merci à vous 💙

#caddyfile #web

Pleroma