-
Notifications
You must be signed in to change notification settings - Fork 302
More complex site configuration not possible with template #131
Comments
You have to the variable "nginx_configs", like that:
It's what you want to do ? |
By the way, what about configs outside http block? E.g. including dynamic modules. We can't do this now. So we need a static config line |
You can use ansible templating for that. It's a recurring question, if someone have time to improve the doc, a PR will be more than welcome. |
No, I can't. Actually, my problem not linked with this issue |
@realmyst Ok, my mistake. @surfer190 Have you solved your issue ? |
@jdauphant Yes, that will work for a dedicated single site server. But may be an issue if you host multiple sites and want per site configs. Nonetheless, I am happy, thanks. |
Based on the template
site.conf.j2
, you can only configure things inside the aserver
block.So that prevents more advanced configurations like the below.
The text was updated successfully, but these errors were encountered: