Skip to content
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

Filename globbing support #163

Closed
gber opened this issue Feb 28, 2013 · 4 comments
Closed

Filename globbing support #163

gber opened this issue Feb 28, 2013 · 4 comments

Comments

@gber
Copy link

gber commented Feb 28, 2013

I would find filename globbing support very useful, e.g. for including files when the filenames are not known in advance using something like

for = /etc/uwsgi/conf.d/*.ini
include %(_)
endfor
@unbit
Copy link
Owner

unbit commented Feb 28, 2013

good idea, i will make a patch soon (but using the current "for" will lead to all sort of problems, so i will add a for-glob instruction)

@unbit
Copy link
Owner

unbit commented Feb 28, 2013

added for-glob

You can test it with:

[uwsgi]
socket = :4141
for-glob = /etc/*
print = %(_)
endfor =

if it is working well you should see items printed in startup logs

@gber
Copy link
Author

gber commented Feb 28, 2013

Works fine, thanks a lot!

@gber gber closed this as completed Feb 28, 2013
@thomasf
Copy link

thomasf commented Sep 1, 2017

I think I need a combination of for-glob and for-readline to be able to read env-files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants