rimosso server header e aggiunto compressione

This commit is contained in:
dado
2025-11-01 15:47:06 +01:00
parent ee108dcedc
commit 0ef7b03073

View File

@@ -6,7 +6,9 @@
# Format file # Format file
# caddy fmt /etc/caddy/Caddyfile --overwrite # caddy fmt /etc/caddy/Caddyfile --overwrite
# Imposta il livello di log globale # The Caddyfile is an easy way to configure your Caddy web server.
# Global Rules
{ {
log { log {
output file /var/log/caddy/access.log { output file /var/log/caddy/access.log {
@@ -18,18 +20,18 @@
} }
} }
https://www.novemila.org { (common) {
# Set this path to your site's directory. header /* {
root * /home/sistemostro/novemila/ -Server
}
}
https://www.novemila.org {
import common
encode gzip zstd
root * /home/sistemostro/novemila/
# Enable the static file server. # Enable the static file server.
file_server file_server
# Another common task is to set up a reverse proxy:
# reverse_proxy localhost:8080
# Or serve a PHP site through php-fpm:
# php_fastcgi localhost:9000
} }
https://novemila.org { https://novemila.org {
@@ -40,9 +42,10 @@ https://novemila.org {
# BEOPEN # BEOPEN
https://beopen.novemila.org { https://beopen.novemila.org {
import common
encode gzip zstd
# Set this path to your site's directory. # Set this path to your site's directory.
root * /home/sistemostro/beopen/website/ root * /home/sistemostro/beopen/website/
# Enable the static file server. # Enable the static file server.
file_server file_server
} }
@@ -50,18 +53,24 @@ https://beopen.novemila.org {
# VAULTWARDEN # VAULTWARDEN
https://vault.novemila.org { https://vault.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3001 reverse_proxy localhost:3001
} }
# NTFY # NTFY
https://ntfy.novemila.org { https://ntfy.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3003 reverse_proxy localhost:3003
} }
# RSS # RSS
https://rss.novemila.org { https://rss.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3004 reverse_proxy localhost:3004
} }
@@ -79,24 +88,24 @@ https://rss.novemila.org {
# GITEA # GITEA
https://git.novemila.org { https://git.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3006 reverse_proxy localhost:3006
} }
# KUMA # KUMA
https://mon.novemila.org { https://mon.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3007 reverse_proxy localhost:3007
} }
# CASTOPOD
#https://podcast.novemila.org {
# reverse_proxy localhost:3008
#}
# NEXTCLOUD # NEXTCLOUD
https://admin.cloud.novemila.org { https://admin.cloud.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3010 { reverse_proxy localhost:3010 {
transport http { transport http {
tls_insecure_skip_verify tls_insecure_skip_verify
@@ -105,62 +114,54 @@ https://admin.cloud.novemila.org {
} }
https://cloud.novemila.org { https://cloud.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:11000 reverse_proxy localhost:11000
} }
# LINKWARDEN
https://link.novemila.org {
reverse_proxy localhost:3012
}
# BESZEL # BESZEL
https://server.novemila.org { https://server.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3013 reverse_proxy localhost:3013
} }
# GOT2SOCIAL # GOT2SOCIAL
# https://docs.gotosocial.org/en/latest/getting_started/reverse_proxy/caddy/ # https://docs.gotosocial.org/en/latest/getting_started/reverse_proxy/caddy/
https://social.novemila.org { https://social.novemila.org {
import common
encode gzip zstd
redir / /about 301 redir / /about 301
encode zstd gzip
reverse_proxy * localhost:3014 { reverse_proxy * localhost:3014 {
flush_interval -1 flush_interval -1
} }
} }
# FMD
#https://fmd.novemila.org {
# reverse_proxy localhost:3015
#}
# GLANCE # GLANCE
https://dashboard.novemila.org { https://dashboard.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3016 reverse_proxy localhost:3016
} }
# 4GET # 4GET
https://search.novemila.org { https://search.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3017 reverse_proxy localhost:3017
} }
# IMMICH # IMMICH
https://photo.novemila.org { https://photo.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3018 reverse_proxy localhost:3018
} }
# READECK
#https://readeck.novemila.org {
# reverse_proxy localhost:3019
#}
# MAILCOW # MAILCOW
mail.novemila.org autodiscover.novemila.org autoconfig.novemila.org { mail.novemila.org autodiscover.novemila.org autoconfig.novemila.org {
@@ -175,18 +176,24 @@ mail.novemila.org autodiscover.novemila.org autoconfig.novemila.org {
} }
} }
import common
encode gzip zstd
reverse_proxy 127.0.0.1:3020 reverse_proxy 127.0.0.1:3020
} }
# LINKDING # LINKDING
https://linkding.novemila.org { https://linkding.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3021 reverse_proxy localhost:3021
} }
# MOLLY # MOLLY
https://molly.novemila.org { https://molly.novemila.org {
import common
encode gzip zstd
reverse_proxy / localhost:8020 reverse_proxy / localhost:8020
} }