-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webserver extras overridden when trying to set auth_basic #35
Comments
I don't want to revert the ordering, as the change was intentional. But, it would be fine to add a location_extra setting that is explicitly targeted for the location section after the proxy_pass clause. Will that work for you? |
That would work for me. But it's no trouble just to override it locally On 22/03/16 22:29, Steve McMahon wrote:
Daniel Jowett Jowett Enterprises Ltd |
This fix doesn't work for me unfortunately. I get the following in nginx.
The following works for me, and gets the indentation a little better, but testing for 'auth_basic ' like this seems wrong, what do you think??
|
The finer parts of the virtual hosting are all going to be hacks. We just need the right ones ;) |
I've wanted to run up a private demo, so I found I could add auth_basic to the nginx config with the following configuration:
Unfortunately, this doesn't work unless I also comment out this line in the nginx role's host template. I notice from the history of that file that
item.extra
used to be added after that line. Can we revert to that ordering?The text was updated successfully, but these errors were encountered: