Answers for "creating virtual host for nginx"

1

creating virtual host for nginx

server {
       listen 81;
       listen [::]:81;

       server_name example.ubuntu.com;

       root /var/www/tutorial;
       index index.html;

       location / {
               try_files $uri $uri/ =404;
       }
}
Posted by: Guest on March-29-2022

Browse Popular Code Answers by Language