Jump to content

Search the Community

Showing results for tags 'nginx-1.17.3'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. Attention: W3Schools Forums members: I have recently downloaded the nginx-1.17.3 web server, and have configured it ( i.e., the "nginx.conf" file ). The code for that file is as follows: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } # # Temporarily commented out as of Thursday, August 29, 2019. # #http { # include mime.types; # default_type application/octet-stream; # #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; # sendfile on; #tcp_nopush on; #keepalive_timeout 0; # keepalive_timeout 65; #gzip on; # # Begin: commented out as of Thursday, August 29, 2019. # # server { # listen 80; # server_name localhost; # # #charset koi8-r; # # #access_log logs/host.access.log main; # # location / { # root html; # index index.html index.htm; # } # # #error_page 404 /404.html; # # # redirect server error pages to the static page /50x.html # # # error_page 500 502 503 504 /50x.html; # location = /50x.html { # root html; # } # # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { # proxy_pass http://127.0.0.1; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #} # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { # deny all; #} # } # another virtual host using mix of IP-, name-, and port-based configuration # #server { # listen 8000; # listen somename:8080; # server_name somename alias another.alias; # location / { # root html; # index index.html index.htm; # } #} # HTTPS server # #server { # listen 443 ssl; # server_name localhost; # ssl_certificate cert.pem; # ssl_certificate_key cert.key; # ssl_session_cache shared:SSL:1m; # ssl_session_timeout 5m; # ssl_ciphers HIGH:!aNULL:!MD5; # ssl_prefer_server_ciphers on; # location / { # root html; # index index.html index.htm; # } #} http { #server { # location / { # root /data/www; # } # # location /images/ { # root /data; # } #} server_names_hash_bucket_size 64; sendfile on; include mime.types; error_log logs/error.log; error_log logs/error.log notice; error_log logs/error.log info; keepalive_timeout 65; default_type "text/html"; server { listen 8080; server_name bulletin.ddns.net; location /index31.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/bulletin; #alias c:/nginx-1.17.3/nginx-1.17.3/data/www/bulletin; index index31.html index31.htm; } } server { listen 8080; server_name holybible1.ddnsfree.com; location /index11a.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/first; #alias c:/nginx-1.17.3/nginx-1.17.3/data/www/first; index index11a.html index11a.htm; } } server { listen 8080; server_name theholybible.ddns.net; location /index1.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/sermons; #alias c:/nginx-1.17.3/nginx-1.17.3/data/www/sermons; index index1.html index1.htm; } } server { listen 8080; server_name holybible1.ddns.net; location /index3_41.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/videoa; #alias c:/nginx-1.13.7/nginx-1.17.3/data/www/videoa; index index3_41.html index3_41.htm; } } server { listen 8080; server_name theholybible1.ddnsfree.com; location /index_61.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/introductory; #alias c:/nginx-1.17.3/nginx-1.17.3/data/www/introductory; index index_61.html index_61.htm; } } server { listen 8080; server_name lesson.ddnsfree.com; location /AJAX_2.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/lesson; #alias c:/nginx-1.17.3/nginx-1.17.3/data/www/lesson; index AJAX_2.html AJAX_2.htm; } } server { listen 8080; server_name lessont.ddnsfree.com; location /AJAX_2.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/lessont; #alias c:/nginx-1.17.3/nginx-1.17.3/data/www/lessont; index AJAX_2.html AJAX_2.htm; } } server { listen 8080; server_name test1.lessont.ddnsfree.com; location /index66.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/test1; #alias c:/nginx-1.17.3/nginx-1.17.3/data/www/test1; index index66.html index66.htm; } } server { listen 8080; server_name theholybible1.com; location /index3_6.html { autoindex on; root c:/nginx-1.17.3/nginx-1.17.3/data/www/vsom; #alias c:/nginx-1.17.3/nginx-1.17.3/data/www/vxom; index index3_6.html index3_6.htm; } } } After configuration, I type in the following command at my Microsoft Windows 10 ( Home ) Edition command prompt ( in elevated mode ) : c:\nginx-1.17.3\nginx-1.17.3>nginx -s reload and the nginx web server is successfully started. However, when I type the domain name of one of my web pages into one of my web browsers, I receive the following error message: "This site can’t be reached bulletin.ddns.net’s server IP address could not be found. Try running Windows Network Diagnostics. DNS_PROBE_FINISHED_NXDOMAIN." I have the same web pages ( as shown in the above-given configuration file ) configured in another web server, and they serve up fine. Why is my nginx-1.17.3 web server not serving up these web pages? Thank you ( see Colossians 3:15, for example ) for your help. Keep in touch. 😊 Sincerely in Christ, Russell E. Willis P.S. - Please read Proverbs 23:23.
×
×
  • Create New...