[go: up one dir, main page]

Skip to content

PoC: pages without wildcard domain

We want to allow users to run pages without wildcard SSL/DNS

One of the ideas is to put namespace into the first path segment.

This MR adds middleware which puts the first path segment back into host before handling the request.

It works for me:

Screenshot_2020-03-11_at_15.25.18

Not addressed topics

  • Auth

  • SSL

  • Lets Encrypt's SSL

  • Anything involving redirects

    The idea is to provide custom http.ResponseWriter which will proxy every method to original ResponseWriter, but will override WriteHeaders and change the value of Location header before sending.

Related issues

Edited by Vladimir Shushlin

Merge request reports

Loading