Nginx:Vhost NextCloud: Difference between revisions

Created page with " server { listen 80; listen [::]:80; server_name nextcloud.example.com; # Add headers to serve security related headers add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; add_header Referrer-Policy no-referrer; #I found this header is needed on Ubuntu, but not..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<syntaxhighlight lang="nginx" line="1">
  server {
  server {
     listen 80;
     listen 80;
Line 110: Line 111:
         access_log off;
         access_log off;
     }
     }
  }
  }</syntaxhighlight>
[[Category:Server]]
[[Category:Web Server]]
[[Category:Nginx]]
[[Category:NextCloud]]