java - How to run "Eclipse Che" behind NGINX reverse proxy? -
i have installed on server eclipse che , runs on machine when use locally localhost:8080 i make available internet, behind nginx front reverse proxy. here idea: example.com/che/ ---> nginx reverse proxy ---> server:8080/ i tried many different nginx configuration... without success. information, eclipse che embeds tomcat instance rewrite rules: rewriterule ^/api/ext/(.*)$ /ide/ext/$1 [l] rewriterule ^/api/(.*)$ /ide/api/$1 [l] rewriterule ^/$ /dashboard [r] there 3 webapps deployed on tomcat server: ide dashboard swagger if eclipse che behind nginx, above rewrite rules useless , can done directly nginx (that's did) i have 1 single block in nginx configuration (if possible) here tried far, it's not working , eclipse che not load (my guess websockets not proxified, , miss something) basically, tried "proxypass" different webapps, may not best option. location /dashboard { proxy_pass http://localhost:8080/dashboard; proxy_redirect off; ...