Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions OpenSpeedTest-Server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@
server {
server_name _ localhost YOURDOMAIN;
listen 3000 reuseport;
listen 3001 ssl reuseport;
# listen 3001 ssl reuseport;
listen [::]:3000 reuseport;
listen [::]:3001 ssl reuseport;
# listen [::]:3001 ssl reuseport;
# If you like to Enable HTTP2 add "http2" to the above line.
# If HTTP2 Enabled. Upload location should Proxy_Pass to http 1.1 port.
# Otherwise you will see abnormal Upload Speeds.
# Nginx Server Windows SSL Performance was very poor! Better use Linux if you need SSL support.
ssl_certificate /etc/ssl/nginx.crt; # Use your own certificate & key
ssl_certificate_key /etc/ssl/nginx.key; # <-- key
# ssl_certificate /etc/ssl/nginx.crt; # Use your own certificate & key
# ssl_certificate_key /etc/ssl/nginx.key; # <-- key
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers "ALL";
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:100m;
ssl_session_timeout 1d;
ssl_session_tickets on;
root /usr/share/nginx/html/;
root /usr/share/nginx/Speed-Test/;
index index.html;
client_max_body_size 35m;
error_page 405 =200 $uri;
Expand Down
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pid /tmp/nginx.pid;
http {
include mime.types;
default_type application/octet-stream;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/http.d/*.conf;


}
}