warp-tech / warpgate

Smart SSH, HTTPS and MySQL bastion that requires no additional client-side software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can set a nginx router use Warpgate-behind-a-reverse-proxy?

CraKeyBoy opened this issue · comments

Can I set a nginx router for warpgate ?

Like this:
server {
server_name warpgate.acme.inc;
listen *:443 http2 ssl;
ssl_certificate ...;
ssl_certificate_key ...;

location /wp  {
            proxy_pass https://192.168.10.1:8888/;
            proxy_set_header Host $http_host;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_http_version 1.1;
}

}

No, warfare can't work behind a URL subpath.