diff --git a/OpenSpeedTest-Server.conf b/OpenSpeedTest-Server.conf index df8d823..fe857d9 100644 --- a/OpenSpeedTest-Server.conf +++ b/OpenSpeedTest-Server.conf @@ -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; diff --git a/nginx.conf b/nginx.conf index 8e58ee9..63384b9 100755 --- a/nginx.conf +++ b/nginx.conf @@ -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; - } \ No newline at end of file + }