Run organizr locally with caddy v2

1. Caddy version (caddy version):

caddy v2.0.0

2. How I run Caddy:

i run caddy to access jellyfin and ombi on the internet with cloudflare

a. System environment:

windows 10

b. Command:

use windows as a service

c. Service/unit/compose file:

systemd

paste full file contents here

d. My complete Caddyfile or JSON config:

jellyfin.mydomain.com {
	encode gzip
	log {
		output file C:\caddy_2.0.0\logs\Jellyfin_access.log {
			roll true				# Rotate logs, enabled by default
			roll_size_mb 5			# Set max size 5 MB
			roll_gzip true			# Whether to compress rolled files
			roll_local_time true	# Use localhost time
			roll_keep 2				# Keep at most 2 log files
			roll_keep_days 7		# Keep log files for 7 days 
		}
	}
	reverse_proxy localhost:8096
	
	tls {
		dns cloudflare ##
	}
}

ombi.mydomain.com {
	encode gzip
	log {
		output file C:\caddy_2.0.0\logs\ombi_access.log {
			roll true				# Rotate logs, enabled by default
			roll_size_mb 5			# Set max size 5 MB
			roll_gzip true			# Whether to compress rolled files
			roll_local_time true	# Use localhost time
			roll_keep 2				# Keep at most 2 log files
			roll_keep_days 7		# Keep log files for 7 days 
		}
	}
	reverse_proxy localhost:5000
	
	tls {
		dns cloudflare ###
	}
}

3. The problem I’m having:

does anybody in this forum use organizr with caddy v2? i am not sure how to make it work. the organizr will tell you to install it automatically with nginx but i am already using caddy for everything so i do not want to keep both or use nginx so can anybody help me with the configuration for organizr in caddy? i would not want to access it outside my network just inside but i am not sure how to make caddy to run the organizr so i can access it locally…

4. Error messages and/or full log output:

try different things without luck… right now i do not have anything in place at all.

5. What I already tried:

i tried installing it with nginx and then try to copy some of the caddy v2 examples from here but nothing works i guess i am not sure how to connect php with organizr and where to put organizr as in nginx everything goes inside that folder

6. Links to relevant resources:

Organizr is a PHP app, so I think you’ll need to install and run PHP for Caddy to be able to execute it via the php_fastcgi directive. There’s been a few threads on the forums about it, feel free to search for those to get an idea.

Also, I recommend upgrading to the latest version of Caddy (current stable is 2.1.1), there’s plenty of fixes that may help things along for you.

This topic was automatically closed after 30 days. New replies are no longer allowed.