Dear all, 

After searching for a long time on the Internet, I found this topic which 
is closiest to my problem. 

I have the same logs with Edward Leonard but there is only different thing 
here is I am using apache 2.4 for proxy manager. 

Here are my configuration with Apache 

Listen 443

<VirtualHost my_domain:443>
    ServerName                      my_domain

    SSLEngine                       on    
    SSLCertificateFile              /etc/pki/tls/certs/server.crt
    SSLCertificateKeyFile           /etc/pki/tls/certs/server.key
    SSLProtocol                     All -SSLv2 -SSLv3
    SSLCipherSuite                  EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:
AES256+EDH
 
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/api/v1/websocket [NC,OR]
    RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR]
    RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
    RewriteRule /(.*) ws://127.0.0.1:8000/%{REQUEST_URI} [P,L]

    <Location "/">
        # preserve Host header to avoid cross-origin problems
        ProxyPreserveHost on
        # proxy to JupyterHub
        ProxyPass         http://127.0.0.1:8000/
        ProxyPassReverse  http://127.0.0.1:8000/
    </Location>
</VirtualHost>    

 and I already change c.JupyterHub.ip to 127.0.0.1 because I did successful 
with nginx on another server, but with apache, I tried many times and 
failed.

Now, I cannot login to JupyterHub although my jupyterhub-singleuser has 
already started (I checked with htop). My web browser returned 
"err_too_many_redirects".

Could you help me, pls?

Many thanks !!!
Best,
MinhDQ
PhD at ICAN | Institute of Cardiometabolism And Nutrition

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/e9f0f00a-7e7f-4fb5-afae-0d9fa9c09367%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to