-
Notifications
You must be signed in to change notification settings - Fork 116
gh_nginx_2: NGINX alongside Apache (by @georgejhunt, being reworked by @jvonau) #2017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
See PR #2009 by @georgejhunt that this is building upon. |
f491810 to
4564995
Compare
|
@mikkokotila as IIAB strongly considers supporting NGINX in coming weeks/months (as well as Apache, initially!) are there design considerations we should keep in mind towards possibly supporting Matomo or similar community-friendly / NGO-friendly analytics in future? Related: |
|
I think for now, let's just make sure we configure the access.log appropriately for nginx, and that we move all the services to be served by it (if possible), and I think we can get started with a hugely more meaningful approach than AWStats with a custom dashboard of some sort for analytics. |
|
I will not work on this due to what appears to be a python2 package uwsgi-plugin-python
There is a python3 equalivent:
|
|
can someone please boil down the file structure? |
|
Main config file is /etc/nginx/nginx.conf with a few includes. I didn't grab the stock nginx.conf file before running the role, could you use apt and attach a copy.
|
|
on ubuntu 18.04 VM the uwsgi unit file needs |
|
I didn't have any issue with the ExecStart line, did the /usr/share/uwsgi/conf/default.ini present? Don't think the .unit is correct maybe could be .socket? |
Description of changes proposed in this pull request.
allows nginx to be disabled and restore apache2 as the primary webserver.
Smoke-tested in operating system.
Tested using runrole nginx and iiab-configure as part of #2016 on rpi4 would need clean install testing
Mention a team member for further information or comment using @ name