Skip to content

Conversation

@tomtomsen
Copy link

ADD added /root/.composer/vendor/bin to PATH
MOD PEAR: phing package deprecated install via composer
MOD sed command failed.
MOD nginx-site.conf moved to /etc/nginx/conf.d/ instead of /etc/nginx/sites-enabled/default
DEL removed mcrypt for php7.2 and php7.3 deprecated

Markus Bandion added 3 commits December 27, 2018 11:05
ADD added /root/.composer/vendor/bin to PATH
MOD PEAR: phing package depcrecated install via composer
MOD sed command failed.
MOD nginx-site.conf moved to /etc/nginx/conf.d/ instead of
/etc/nginx/sites-enabled/default
DEL removed mcrypt for php7.2 and php7.3 deprecated
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY nginx-site.conf /etc/nginx/sites-enabled/default
COPY nginx-site.conf /etc/nginx/conf.d/default.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please leave /etc/nginx/sites-enabled/default - images using this base image rely on sites-enabled/default and remove conf.d/default.conf ... having sites-enabled/ is also the Ubuntu default for nginx.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i've looked into it: the nginx version which is used here, does not have a sites-enabled directory.
based on this post What is the different usages for sites-available vs the conf.d directory for nginx, i think the current approch is good.

if you insist in having a sites-enabled directory, we have to sed the nginx.conf which will probably fail in future (if it gets modified)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants