1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Update roles/nginx/README.md + Lint jupyterhub-nginx.conf

This commit is contained in:
root 2021-04-15 20:16:40 +00:00
parent f793f0c230
commit 19a7af08e5
2 changed files with 20 additions and 18 deletions

View file

@ -1,19 +1,20 @@
location /jupyterhub { location /jupyterhub {
proxy_pass http://127.0.0.1:8000; proxy_pass http://127.0.0.1:8000;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true; proxy_set_header X-NginX-Proxy true;
# websocket headers # websocket headers
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
#proxy_set_header Connection $connection_upgrade; #proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Scheme $scheme; proxy_set_header X-Scheme $scheme;
proxy_buffering off; proxy_buffering off;
} }
# Managing requests to verify letsencrypt host
location ~ /.well-known { # Managing requests to verify letsencrypt host
allow all; location ~ /.well-known {
} allow all;
}

View file

@ -10,12 +10,13 @@
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 of IIAB App/Service migrations as of 2020-09-24: 3. Current state of IIAB App/Service migrations as of 2021-04-15:
1. These support "Native" NGINX but ***NOT*** Apache 1. These support "Native" NGINX but ***NOT*** Apache
* Admin Console * Admin Console
* captiveportal * captiveportal
* IIAB documentation (http://box/info) * IIAB documentation (http://box/info)
* JupyterHub
* osm-vector-maps * osm-vector-maps
* OER2Go/RACHEL modules * OER2Go/RACHEL modules
* usb_lib * usb_lib
@ -54,4 +55,4 @@
* transmission * transmission
* vnstat * vnstat
[*] The 4 above starred roles could use improvement, as of 2020-09-24. [*] The 4 above starred roles could use improvement, as of 2021-04-15.