5 include /etc/nginx/modules-enabled/*.conf;
7 # is expected even if empty
12 # define content-type headers
13 include /etc/nginx/mime.types;
16 # Some standard optimizations, i.e. Debian default. Explained in
17 # <https://thoughts.t37.net/nginx-optimization-understanding-sendfile-tcp-nodelay-and-tcp-nopush-c55cdd276765>
18 # Not that I understand it all …
23 # logging deactivated due to GDPR
24 #access_log /var/log/nginx/access.log;
25 #error_log /var/log/nginx/error.log;
29 # virtual hosts: sites-enabled is the Debian way, conf.d the NGINX default
30 include /etc/nginx/conf.d/*.conf;
31 include /etc/nginx/sites-enabled/*;
33 # Redirect all HTTP requests to HTTPS.
36 return 301 https://$host$request_uri;