frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

[QUESTION] About this docs config

Open ezekel opened this issue 1 year ago • 0 comments

Hi,

what would be the docker-compose for this?

but we can't expose the same port in app2

 app1
        ports:
            - "80:80" # HTTP
            - "443:443" # HTTPS
   app2
        ports:
            - "80:80" # HTTP
            - "443:443" # HTTPS

{
	frankenphp {
		worker /path/to/app/public/index.php <num>
		worker /path/to/other/public/index.php <num>
	}
}

app.example.com {
	root * /path/to/app/public
	php_server
}

other.example.com {
	root * /path/to/other/public
	php_server
}

Thank you in advance

ezekel avatar May 25 '24 16:05 ezekel