Framework: Automating Nginx Configuration
1 month ago ∙ 1 minute read
I've implemented the commands as specified.
One thing that is different is under
osmt command alias is no longer defined, and you have to write full unaliased command, for example:
# sudo osmt config:host doesn't work sudo php vendor/osmphp/framework/bin/tools.php config:host
It's not pretty, but works. If you have a suggestion on making it more elegant, let's discuss.
Overall, the installation experience is a lot smoother!
osmt config:nginx sudo php vendor/osmphp/framework/bin/tools.php config:host sudo php vendor/osmphp/framework/bin/tools.php install:nginx
For more details, see documentation.