public class NginxTemplateConfigGenerator extends java.lang.Object implements NginxConfigFileGenerator
server.conf configuration file for an
NginxController.
Note this must be explicitly enabled via NginxController.SERVER_CONF_GENERATOR.
| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<java.lang.String> |
SERVER_CONF_TEMPLATE_URL |
| Constructor and Description |
|---|
NginxTemplateConfigGenerator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateConfigFile(NginxDriver driver,
NginxController nginx)
Entry point for the generator.
|
public static final ConfigKey<java.lang.String> SERVER_CONF_TEMPLATE_URL
public java.lang.String generateConfigFile(NginxDriver driver, NginxController nginx)
NginxConfigFileGeneratorgenerateConfigFile in interface NginxConfigFileGeneratorserver.conf file