1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update nginx/README.md

This commit is contained in:
A Holt 2020-01-23 18:10:53 -05:00 committed by GitHub
parent 8e861e2d30
commit 01da1e58da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,34 +1,41 @@
### Transition to NGINX ### Transition to NGINX
1. Initial testing strategy is to move NGINX to port 80, and proxy everything to Apache on port 8090 -- creating a shim. 1. Initial testing strategy is to move NGINX to port 80, and proxy everything to Apache on port 8090 — creating "Shims" for each IIAB app/service/playbook in *Section iii.* below.
Until "Native" NGINX is later implemented for that IIAB app/service/playbook — allowing it to move up to *Section ii.* below.
And potentially later moving it up to *Section i.* if its Apache support is dropped!
2. Without PHP available via FastCGI, any function at all for PHP-based applications validates NGINX. 2. Without PHP available via FastCGI, any function at all for PHP-based applications validates NGINX.
3. Current state (2020-01-12). 3. Current state as of 2020-01-23...
1. Principal functions migrated to NGINX 1. Supports "Native" NGINX but ***NOT*** Apache
* Admin Console * Admin Console
* kalite -- goes directly to ports 8006-8008 * captiveportal
* mediawiki
* osm-vector-maps * osm-vector-maps
* RACHEL-like modules
* usb-lib * usb-lib
* wordpress
2. Dual support, see [roles/nginx/tasks/only_nginx.yml](tasks/only_nginx.yml) 2. Supports "Native" NGINX ***AND*** Apache, a.k.a. "dual support" for legacy testing, which can be attempted by setting 'nginx_enabled: False' in /etc/iiab/local_vars.yml (if "Shims" from *Section iii.* below are preserved!)
* awstats ([#2124](https://github.com/iiab/iiab/issues/2124)) * awstats
* calibre-web * calibre-web
* gitea * gitea
* kiwix -- goes directly to port 3000 * kiwix
* kolibri * kolibri
* mediawiki
* munin
* sugarizer * sugarizer
* wordpress
3. Still proxied to Apache, see [roles/0-init/tasks/main.yml#L108-L112](../0-init/tasks/main.yml#L108-L112) & [roles/nginx/tasks/uses_apache.yml](tasks/uses_apache.yml) 3. Supports Apache but ***NOT*** NGINX, proxied by an NGINX "Shim" (see [roles/0-init/tasks/main.yml#L39-L49](../0-init/tasks/main.yml#L39-L49) for a list of those IIAB apps/services that auto-enable Apache)
* dokuwiki ([#2056](https://github.com/iiab/iiab/issues/2056)) * dokuwiki ([#2056](https://github.com/iiab/iiab/issues/2056))
* elgg * elgg
* lokole * lokole
* moodle * moodle
* nodered
* nextcloud ([PR #2119](https://github.com/iiab/iiab/pull/2119)) * nextcloud ([PR #2119](https://github.com/iiab/iiab/pull/2119))
* nodered
4. Not yet dealt with 4. Not Yet Dealt With!
* internetarchive ([PR #2120](https://github.com/iiab/iiab/pull/2120)) * internetarchive (menu goes directly to port 4244, [PR #2120](https://github.com/iiab/iiab/pull/2120))
* kalite (menu goes directly to ports 8006-8008)