How to add custom to settings to nginx virtual host file

Is there a way to add say something like this in the configuration settings so that it is added to the nginx virtual host file on deploys and or reprovisions?

location ~* \.(eot|otf|ttf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;

This topic was automatically closed after 42 days. New replies are no longer allowed.