canonical / deployment-configs

10 stars 12 forks source link

Proxy for microk8s installer #382

Closed nottrobin closed 4 years ago

nottrobin commented 4 years ago

For https://github.com/canonical-web-and-design/microk8s.io/issues/280

Twinned with https://github.com/canonical-web-and-design/microk8s.io/pull/286

QA

./qa-deploy production sites/microk8s.io.yaml redirect-install

Add 127.0.0.1 microk8s.io to /etc/hosts.

Open https://microk8s.io in a private window and trust the self-signed cert.

Now go to https://microk8s.io/install.exe and https://microk8s.io/install/v2.0.0.exe and see it serve you the installer!

jkfran commented 4 years ago

Hey @nottrobin I am getting a 404 on everything.

wget --no-check-certificate https://microk8s.io/install.exe                                 17:25:44 
--2020-06-01 17:26:36--  https://microk8s.io/install.exe
Resolving microk8s.io (microk8s.io)... 127.0.0.1
Connecting to microk8s.io (microk8s.io)|127.0.0.1|:443... connected.
WARNING: cannot verify microk8s.io's certificate, issued by ‘CN=Kubernetes Ingress Controller Fake Certificate,O=Acme Co’:
  Unable to locally verify the issuer's authority.
WARNING: no certificate subject alternative name matches
        requested host name ‘microk8s.io’.
HTTP request sent, awaiting response... 404 Not Found
2020-06-01 17:26:36 ERROR 404: Not Found.
jkfran commented 4 years ago

@nottrobin this might be more helpful:

2020/06/01 16:52:56 [emerg] 157#157: "proxy_pass" cannot have URI part in location given by regular expression, or inside named location, or inside "if" statement, or inside "limit_except" block in /tmp/nginx-cfg774259577:443
pmahnke commented 4 years ago

@nottrobin any update?