modificato il path di caddy
This commit is contained in:
190
etc/caddy/Caddyfile
Normal file
190
etc/caddy/Caddyfile
Normal file
@@ -0,0 +1,190 @@
|
||||
# The Caddyfile is an easy way to configure your Caddy web server.
|
||||
|
||||
# Imposta il livello di log globale
|
||||
{
|
||||
log {
|
||||
output file /var/log/caddy/access.log {
|
||||
roll_size 10mb
|
||||
roll_keep 20
|
||||
roll_keep_for 720h
|
||||
}
|
||||
level INFO
|
||||
}
|
||||
}
|
||||
|
||||
https://www.novemila.org {
|
||||
# Set this path to your site's directory.
|
||||
root * /home/sistemostro/website/
|
||||
|
||||
# Enable the static 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 {
|
||||
redir https://www.novemila.org{uri}
|
||||
}
|
||||
|
||||
# VAULTWARDEN
|
||||
|
||||
https://vault.novemila.org {
|
||||
reverse_proxy localhost:3001
|
||||
}
|
||||
|
||||
# NTFY
|
||||
|
||||
https://ntfy.novemila.org {
|
||||
reverse_proxy localhost:3003
|
||||
}
|
||||
|
||||
# RSS
|
||||
|
||||
https://rss.novemila.org {
|
||||
reverse_proxy localhost:3004
|
||||
}
|
||||
|
||||
# COLLABORA
|
||||
|
||||
#https://code.novemila.org {
|
||||
# encode gzip
|
||||
# reverse_proxy localhost:3005 {
|
||||
# transport http {
|
||||
# tls_insecure_skip_verify
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
|
||||
# GITEA
|
||||
|
||||
https://git.novemila.org {
|
||||
reverse_proxy localhost:3006
|
||||
}
|
||||
|
||||
# KUMA
|
||||
|
||||
https://mon.novemila.org {
|
||||
reverse_proxy localhost:3007
|
||||
}
|
||||
|
||||
# CASTOPOD
|
||||
|
||||
#https://podcast.novemila.org {
|
||||
# reverse_proxy localhost:3008
|
||||
#}
|
||||
|
||||
# NEXTCLOUD
|
||||
|
||||
https://admin.cloud.novemila.org {
|
||||
reverse_proxy localhost:3010 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
https://cloud.novemila.org {
|
||||
reverse_proxy localhost:11000
|
||||
}
|
||||
|
||||
# LINKWARDEN
|
||||
|
||||
https://link.novemila.org {
|
||||
reverse_proxy localhost:3012
|
||||
}
|
||||
|
||||
# BESZEL
|
||||
|
||||
https://server.novemila.org {
|
||||
reverse_proxy localhost:3013
|
||||
}
|
||||
|
||||
# GOT2SOCIAL
|
||||
# https://docs.gotosocial.org/en/latest/getting_started/reverse_proxy/caddy/
|
||||
https://social.novemila.org {
|
||||
redir / /about 301
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:3014 {
|
||||
flush_interval -1
|
||||
}
|
||||
}
|
||||
|
||||
# FMD
|
||||
|
||||
#https://fmd.novemila.org {
|
||||
# reverse_proxy localhost:3015
|
||||
#}
|
||||
|
||||
# GLANCE
|
||||
|
||||
https://dashboard.novemila.org {
|
||||
reverse_proxy localhost:3016
|
||||
}
|
||||
|
||||
# 4GET
|
||||
|
||||
https://search.novemila.org {
|
||||
reverse_proxy localhost:3017
|
||||
}
|
||||
|
||||
# IMMICH
|
||||
|
||||
https://photo.novemila.org {
|
||||
reverse_proxy localhost:3018
|
||||
}
|
||||
|
||||
# READECK
|
||||
|
||||
https://readeck.novemila.org {
|
||||
reverse_proxy localhost:3019
|
||||
}
|
||||
|
||||
# MAILCOW
|
||||
|
||||
mail.novemila.org autodiscover.novemila.org autoconfig.novemila.org {
|
||||
log {
|
||||
output file /var/log/caddy/mail.novemila.org.log {
|
||||
roll_disabled
|
||||
roll_size 512M
|
||||
roll_uncompressed
|
||||
roll_local_time
|
||||
roll_keep 3
|
||||
roll_keep_for 48h
|
||||
}
|
||||
}
|
||||
|
||||
reverse_proxy 127.0.0.1:3020
|
||||
}
|
||||
|
||||
# LINKDING
|
||||
|
||||
https://linkding.novemila.org {
|
||||
reverse_proxy localhost:3021
|
||||
}
|
||||
|
||||
# MOLLY
|
||||
|
||||
https://molly.novemila.org {
|
||||
reverse_proxy / localhost:8020
|
||||
}
|
||||
|
||||
# SNIKKET
|
||||
|
||||
http://chat.novemila.org,
|
||||
http://groups.chat.novemila.org,
|
||||
http://share.chat.novemila.org {
|
||||
reverse_proxy localhost:5080
|
||||
}
|
||||
|
||||
chat.novemila.org,
|
||||
groups.chat.novemila.org,
|
||||
share.chat.novemila.org {
|
||||
reverse_proxy https://localhost:5443 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user