docker/web/Caddyfile
changeset 702 2a6e667b1610
equal deleted inserted replaced
691:8454f9cda0ca 702:2a6e667b1610
       
     1 hdalab.iri-research.org {
       
     2     tls internal
       
     3 
       
     4     redir / /hdalab/
       
     5     rewrite /hdalab /hdalab/
       
     6 
       
     7     handle_path /static/* {
       
     8         root * /static
       
     9         file_server
       
    10     }
       
    11     
       
    12     handle_path /hdalab/* {
       
    13         reverse_proxy server:8000 {
       
    14             transport uwsgi {
       
    15                 uwsgi_param SCRIPT_NAME /hdalab
       
    16                 uwsgi_param UWSGI_SCHEME https
       
    17             }
       
    18         }
       
    19     }
       
    20 }