Skip to content

Commit 844a869

Browse files
committed
disable tmp
1 parent f1b6034 commit 844a869

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

scenarios/tls.benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ scenarios:
247247
tls-handshakes-docker-nginx:
248248
application:
249249
job: dockerLinuxNginxServer
250-
buildArguments:
251-
- SSL_LOGGING_ENABLED=false
250+
# buildArguments:
251+
# - SSL_LOGGING_ENABLED=false
252252
load:
253253
job: httpclient
254254
variables:

src/BenchmarksApps/TLS/Nginx/config/nginx.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ http {
77
'"$http_user_agent" "$http_x_forwarded_for" '
88
'[$ssl_protocol] [$ssl_cipher]';
99

10-
# uncomment to get logs about TLS
11-
access_log /var/log/nginx/access.log ssl_logs {{SSL_LOGGING_ENABLED}};
10+
# access_log /var/log/nginx/access.log ssl_logs;
1211

1312
server {
1413
listen 8080 ssl;
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
#!/bin/bash
2-
# Replace the placeholder in the nginx.conf.template with the actual value of SSL_LOGGING_ENABLED
3-
if [ "$SSL_LOGGING_ENABLED" = "true" ]; then
4-
sed 's|{{SSL_LOGGING_ENABLED}}|if=$SSL_LOGGING_ENABLED|g' /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf
5-
else
6-
sed 's|{{SSL_LOGGING_ENABLED}}||g' /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf
7-
fi
8-
92
echo "$(date) - Application started. Logging: $LOGGING"
103
nginx -g "daemon off;" # start nginx

0 commit comments

Comments
 (0)