How to add locations to "default site"? #4582
Unanswered
eigenphase
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I really don't one sub domain for each and every service.
Hence I'd like to either create a default site and add multiple locations or use the builtin default site for that. Unfortunately the latter only works for http and there is no option to add locations.
As a workaround, I created a dummy host. This dummy host is really only meant to service multiple "custom location" entries. But the main page should still be some simple, static page. Since I am forced to enter something in scheme / host forward IP, I used htttp://127.0.0.1:80. My hope was that then, I would see the "default site" that I have configured in the settings.
However, instead I am getting:
400 Bad Request
Request Header Or Cookie Too Large
openresty
Is there any good way to achieve this?
(I'm afraid not, in which was I would convert this into a bug report/feature request)
Beta Was this translation helpful? Give feedback.
All reactions