Difference between revisions of "/etc/nginx/sites-enabled/default"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
  
 
  cat [[/etc/nginx/sites-available/]]default | grep -v "#" | grep .
 
  cat [[/etc/nginx/sites-available/]]default | grep -v "#" | grep .
  server {
+
  [[server]] {
 
         [[listen]] 80 default_server;
 
         [[listen]] 80 default_server;
 
         listen [::]:80 default_server;
 
         listen [::]:80 default_server;
Line 17: Line 17:
 
== Related files ==
 
== Related files ==
 
* <code>[[/etc/nginx/nginx.conf]]</code>
 
* <code>[[/etc/nginx/nginx.conf]]</code>
 +
* [[Welcome to nginx!]]
  
 
==See also==
 
==See also==

Latest revision as of 12:39, 21 October 2021

Advertising: