I made a small mistake :) When running these commands a second time (e.d. restarting the container without pruning volumes) the commands would be executed again. No problem however except if your port starts with 80.
Listen 8090
Would become:
Listen 809990
And the same with the vhost. Any other port not starting with 80 would be fine :) I have updated the sed commands to match on the end of the line (for the Listen statement) and on the > for the vhost.
I didn't noticed this yesterday as it just worked the first time :) I was playing with it for a bit and at some point the container did not want to start so yeah this was the problem!
I made a small mistake :) When running these commands a second time (e.d. restarting the container without pruning volumes) the commands would be executed again. No problem however except if your port starts with 80.
Would become:
And the same with the vhost. Any other port not starting with 80 would be fine :) I have updated the sed commands to match on the end of the line (for the
Listen
statement) and on the>
for the vhost.I didn't noticed this yesterday as it just worked the first time :) I was playing with it for a bit and at some point the container did not want to start so yeah this was the problem!