Skip to content

Commit 9ee684c

Browse files
committed
try use 5000 port everywhere
1 parent 7136cd9 commit 9ee684c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

scenarios/tls.benchmarks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ jobs:
6868
dockerFile: dockerNginx/src/BenchmarksApps/TLS/Nginx/Dockerfile
6969
dockerImageName: dockerNginx
7070
dockerContextDirectory: dockerNginx/src/BenchmarksApps/TLS
71-
port: 8080
71+
port: 5000
7272
readyStateText: Application started.
7373
environmentVariables:
74-
urls: "https://*:8080" # any ip, port 8080
74+
urls: "https://*:5000" # any ip, port 8080
7575

7676
scenarios:
7777

@@ -146,7 +146,7 @@ scenarios:
146146
connections: 32
147147
serverScheme: https
148148
sslProtocol: tls12
149-
serverPort: 8080
149+
serverPort: 5000
150150

151151
# Kestrel
152152

src/BenchmarksApps/TLS/Nginx/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ RUN if [ "$ENABLE_FIPS_MODE" = "true" ]; then \
3636
# Make the script executable
3737
RUN chmod +x /start-nginx.sh
3838

39-
# Expose port 8080 for HTTPS traffic
40-
EXPOSE 8080
39+
# Expose port 5000 for HTTPS traffic
40+
EXPOSE 5000
4141

4242
# Run the startup script
4343
CMD ["/start-nginx.sh"]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ http {
1818
access_log off;
1919

2020
server {
21-
listen 8080 ssl;
22-
listen [::]:8080 ssl;
21+
listen 5000 ssl;
22+
listen [::]:5000 ssl;
2323
server_name YOUR_IP;
2424

2525
ssl_certificate /etc/nginx/certs/cert.pem;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
curl -v https://127.0.0.1:8080 --insecure
1+
curl -v https://127.0.0.1:5000 --insecure

0 commit comments

Comments
 (0)