-
Notifications
You must be signed in to change notification settings - Fork 82
Allow custom rewrite or redirections in nginx #80
Comments
I am in need for this on two of my servers. Here's my thoughts. This is
This way you can cover 90% of the cases in the application A directive for redirect-domains.Allowing users to define a list of additional domains that redirect to the main application domain, rather than having the application being served on that domain (and so avoiding e.g. duplicate content issues). "domain_names": ["example.com", "example.eu"],
"redirect_domains": ["www.example.com", "www.example.eu", "example.net", "example.org"], This, then results in the following config:
Note that the redirect ( Include directive.Discussed in #97 |
We want to figure out a way how we can easily configure redirection statements and what kind of JSON DSL we might want for this.
There is already some work in this PR: #66 which allows people to add virtual servers inside a certain application. In that PR they can be configured to own their own SSL certificates.
In this issue I want to start a short discussion on what we might want to be able to add as custom hosts. We currently use these types in production. This does not mean we need to support them all but we can figure out which ones to begin with:
The text was updated successfully, but these errors were encountered: