Qnap [ Caddy ] [ 1.0.4 ] Fast, cross-platform HTTP/2 web server with automatic HTTPS

foXaCe a dit:
bonjour,
si quelqu'un peut me filer un coup de main pour du reverse avec sonarr/radarr je veux bien.

il y a quelques exemple ici

https://github.com/caddyserver/examples

https://www.reddit.com/r/usenet/comments/6wrsz2/putting_sab_sonarr_etc_behind_a_web_server/
 
Regarde ici:

Code:
(gzipconf) {
        gzip {
                ext *
                level 7
                min_length 1
        }
}

(addheader) {
        header / {
                Strict-Transport-Security "max-age=31536000;"
                X-XSS-Protection "1; mode=block"
                X-Content-Type-Options "nosniff"
                X-Frame-Options "DENY"
                Referrer-Policy "strict-origin-when-cross-origin"
                -Server
        }
}


http://sonarr.tondomain.fr:8963 {
        import gzipconf
        import addheader
        proxy / http://192.168.1.154:8989 {
                keepalive 32
                transparent
                websocket
        }
}

Après, tu dois faire le port forwarding dans ton router de la porte externe 80 à la 8963.

Sent from my ONEPLUS A5000 using Tapatalk

 
update

Code:
Caddy 0.11.5 is built with Go 1.12 and brings TLS 1.3 to all worthy TLS connections by default. We've also re-allowed HEAD requests on static files and organized the startup output a little better.

Full change log:

TLS 1.3
Built with Go 1.12
More organized output at startup
internal: Paths are now hidden from other middlewares
staticfiles: Allow HEAD method
tls: TLS 1.3 default max version (1.2 still default min)
tls: Better handling of empty ACME email addresses
tls: Removed CBC ciphers from defaults
Other minor improvements and bug fixes
 
Merci! Le seule problème des mises à jour de Caddy est qu'il faut se rappeler après de modifier le script de lancement pour dire où se trouve le fichier de configuration :)
 
Quelqu'un peut suggérer une manière efficace pour laisser libre les portes 80 et 443, afin de les utiliser avec Caddy? Je voudrais enfin passer complètement en HTTPS.