mercredi 29 janvier 2020

Nginx configration (Modem or Router web interface )

I try to develop modem or router web interface.

  • I choose the web server nginx
  • I try to configure when type the browser 192.168.1.1 open that web interface

       server {
           listen 80 ;
    
           server_name _ 192.168.1.1;
    
           root /var/www/myModem;
           index index.html;
    
           location / {
               try_files $uri $uri/ =404;
       }}
    

That configration is not working.

How can I configure that ?




Aucun commentaire:

Enregistrer un commentaire