GH NGINX 3 + introduce /etc/iiab/iiab_state.yml + begin breaking apart playbooks into (1) install.yml (2) setup.yml (3) enable.yml#2042
GH NGINX 3 + introduce /etc/iiab/iiab_state.yml + begin breaking apart playbooks into (1) install.yml (2) setup.yml (3) enable.yml#2042jvonau wants to merge 120 commits intoiiab:masterfrom
Conversation
|
http://minutes.iiab.io call ongoing...rough conclusion for coming days:
|
d3ad304 to
8dea7b9
Compare
|
I will announce http://d.iiab.io/install-test.txt to xsce-devel@googlegroups.com in coming minutes/hours...for hardcore testing volunteers. (It attempts a full IIAB installation using @jvonau's experimental PR #2042, instead of the usual/master branch of iiab/iiab). @tim-moody if http://d.iiab.io/install-test.txt should also use a new/experimental iiab/iiab-admin-console branch-or-tag (instead of iiab-admin-console's master branch) please LMK. |
|
On UB 18.04 VM with minimal local vars: |
|
pushed commits to correct.
Given there is sites-available/sites-enabled in nginx's config directory, I'm wondering if that is the correct (or better?) place for the snippets of code the defines the uri of the resources that are being proxied in place of using the conf.d directory, similar to how apache is laid out. |
|
Let's try to keep all Apache variables clustered together in one place within default_vars.yml In any case, once these settle down and are a bit more readable, they should also be mentioned in... And those apache_* vars that matter most to implementers (which one or two do you recommend ?) can then be inserted into {local_vars_min.yml, local_vars_medium.yml, local_vars_big.yml} |
|
Just cleaned up the dups, final placement is your call. The apache_* vars are more of a place holder at the moment, but nginx_enabled: False in local_vars should disable nginx and run apache only. After the install is completed the quick test is: './runrole nginx' and look at netstat -natp |
|
There are some design discussions needed on the actual flow of the web traffic. |
|
did a pull which did some sort of merge requiring a commit message?! |
|
TASK [nginx : Disable /etc/apache2/sites-enabled/calibre-web.conf] *************************************************************************************************************************** |
|
re: sites_enabled I never like all our conf files there under apache and agree with their having been moved to conf.d sites should have different ports or domains imho |
|
Right, first pass so apache's sites-available is not populated yet, and a2dissite doesn't like it. Could use file: absent or move the role |
Don't think it a matter of our opinion, it is a matter of customary practices while using Debian/Ubuntu, Redhat derivatives don't use sites-* and I'm used to that, but when in Rome.... At any rate I moved the role.. |
Which one do we want to serve ssl as there is no config present for nginx/ssl in the original #2009? |
|
TASK [awstats : Create symlink awstats.conf from sites-enabled to sites-available (debuntu)] ************************************************************************************************* |
|
corrective action: |
|
On raspbian lite, rpi4, |
Above bug report resembles #1714 |
|
More complete error msg from the bottom of @georgejhunt's http://paste.debian.net/1117005/ :
|
|
A fresh install of http://d.iiab.io/install-test.txt (this PR #2042, BIG-sized) failed on Ubuntu 19.10 VM @ 10.8.0.42 as follows:
|
|
hand installation of python3-distutils did not clear my error. |
a5fe9fe to
66e1392
Compare
Co-Authored-By: A Holt <holta@users.noreply.github.com>
Co-Authored-By: A Holt <holta@users.noreply.github.com>
whitespace Co-Authored-By: A Holt <holta@users.noreply.github.com>
wording Co-Authored-By: A Holt <holta@users.noreply.github.com>
Co-Authored-By: A Holt <holta@users.noreply.github.com>
|
review nginx configs against nginx's guide |
|
nginx: /modules and below location needs autoindex |
How about adding the suggested code to #2052? Closing this PR as 2052 is a replacement |
[builds on / combines PRs #2008, #2009, #2017, #2020, #2031]