mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Fix evaluation error in the tomcat test
This commit is contained in:
parent
738a6c173a
commit
98ae32286f
@ -38,7 +38,7 @@ in
|
|||||||
JkWorkersFile ${workersProperties}
|
JkWorkersFile ${workersProperties}
|
||||||
|
|
||||||
# Where to put jk logs
|
# Where to put jk logs
|
||||||
JkLogFile ${config.logDir}/mod_jk.log
|
JkLogFile ${serverInfo.serverConfig.logDir}/mod_jk.log
|
||||||
|
|
||||||
# Set the jk log level [debug/error/info]
|
# Set the jk log level [debug/error/info]
|
||||||
JkLogLevel info
|
JkLogLevel info
|
||||||
@ -69,7 +69,7 @@ JkMount /__application__/* loadbalancer
|
|||||||
# for load balancing to work properly
|
# for load balancing to work properly
|
||||||
# Note: Replaced JkShmFile logs/jk.shm due to SELinux issues. Refer to
|
# Note: Replaced JkShmFile logs/jk.shm due to SELinux issues. Refer to
|
||||||
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225452
|
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225452
|
||||||
JkShmFile ${config.stateDir}/jk.shm
|
JkShmFile ${serverInfo.serverConfig.stateDir}/jk.shm
|
||||||
|
|
||||||
# Static files in all Tomcat webapp context directories are served by apache
|
# Static files in all Tomcat webapp context directories are served by apache
|
||||||
JkAutoAlias /var/tomcat/webapps
|
JkAutoAlias /var/tomcat/webapps
|
||||||
|
@ -10,10 +10,7 @@
|
|||||||
services.httpd.enable = true;
|
services.httpd.enable = true;
|
||||||
services.httpd.adminAddr = "foo@bar.com";
|
services.httpd.adminAddr = "foo@bar.com";
|
||||||
services.httpd.extraSubservices = [
|
services.httpd.extraSubservices = [
|
||||||
{ serviceType = "tomcat-connector";
|
{ serviceType = "tomcat-connector"; }
|
||||||
stateDir = "/var/run/httpd";
|
|
||||||
logDir = "/var/log/httpd";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user