mondediefr / docker-flarum

:speech_balloon: :whale: Docker image of Flarum
https://hub.docker.com/r/mondedie/flarum
MIT License
507 stars 131 forks source link

A question about nginx.conf #93

Closed xxxxxliil closed 3 years ago

xxxxxliil commented 3 years ago

https://github.com/mondediefr/docker-flarum/blob/74589ee3ec5d1f3255e8e56b04aa9d702cd7ed74/rootfs/etc/nginx/nginx.conf#L59 What is the advantage of doing this over using if ( -f )?

al3xLvs commented 3 years ago

You can't include the file if it not exist even with if

xxxxxliil commented 3 years ago

You can't include the file if it not exist even with if

Now this change?