mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 02:38:58 +02:00
Add Pelican stuff - not complete.
Add more Fabric Mods.
This commit is contained in:
parent
6d55338dd7
commit
3dd7f7bfe8
5 changed files with 92 additions and 4 deletions
24
nix-system-configs/modules/songsheet/wavelog/Caddyfile
Normal file
24
nix-system-configs/modules/songsheet/wavelog/Caddyfile
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
admin off
|
||||
servers {
|
||||
# Trust the upstream reverse proxy (Traefik) so the Panel recognizes
|
||||
# TLS is terminated there. Replace 10.1.1.250 with your Traefik IP
|
||||
# or the Cloudflare IP ranges if you're using Cloudflare Flexible SSL.
|
||||
trusted_proxies static 10.1.1.250
|
||||
}
|
||||
}
|
||||
|
||||
:80 {
|
||||
root * /var/www/html/public
|
||||
encode gzip
|
||||
|
||||
# FastCGI to the bundled php-fpm in the Panel image
|
||||
php_fastcgi 127.0.0.1:9000 {
|
||||
# Optional: raise upload limits if you need larger file uploads
|
||||
env PHP_VALUE "upload_max_filesize = 256M
|
||||
post_max_size = 256M"
|
||||
}
|
||||
|
||||
file_server
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue