diff --git a/roles/jupyterhub/templates/jupyterhub-nginx.conf b/roles/jupyterhub/templates/jupyterhub-nginx.conf index 0c97d4caf..301ab2a41 100644 --- a/roles/jupyterhub/templates/jupyterhub-nginx.conf +++ b/roles/jupyterhub/templates/jupyterhub-nginx.conf @@ -1,19 +1,20 @@ location /jupyterhub { - proxy_pass http://127.0.0.1:8000; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-NginX-Proxy true; + proxy_pass http://127.0.0.1:8000; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-NginX-Proxy true; - # websocket headers - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - #proxy_set_header Connection $connection_upgrade; - proxy_set_header X-Scheme $scheme; + # websocket headers + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + #proxy_set_header Connection $connection_upgrade; + proxy_set_header X-Scheme $scheme; - proxy_buffering off; - } - # Managing requests to verify letsencrypt host - location ~ /.well-known { - allow all; - } + proxy_buffering off; +} + +# Managing requests to verify letsencrypt host +location ~ /.well-known { + allow all; +} diff --git a/roles/nginx/README.md b/roles/nginx/README.md index e23a8cbb1..84fa21a1b 100644 --- a/roles/nginx/README.md +++ b/roles/nginx/README.md @@ -10,12 +10,13 @@ 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 * Admin Console * captiveportal * IIAB documentation (http://box/info) + * JupyterHub * osm-vector-maps * OER2Go/RACHEL modules * usb_lib @@ -54,4 +55,4 @@ * transmission * 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.