Index

joshstock.in / 0f630e2

Source for serving and static templating/compiling of https://joshstock.in.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
14714 Jul 2022 10:1392c9fd4Rename nginx conf directory sites-enabled/ to servers/Josh Stockin111G

Blob @ joshstock.in / nginx / nginx.conf

text/plain949 bytesdownload raw
1user www-data;
2worker_processes auto;
3pid /run/nginx.pid;
4include /etc/nginx/modules-enabled/*.conf;
5include /etc/nginx/sites/*/env/*.conf;
6
7events {
8 worker_connections 768;
9 # multi_accept on;
10}
11
12http {
13 sendfile on;
14 tcp_nopush on;
15 tcp_nodelay on;
16 keepalive_timeout 65;
17 types_hash_max_size 2048;
18 # server_tokens off;
19
20 # server_names_hash_bucket_size 64;
21 # server_name_in_redirect off;
22
23 include /etc/nginx/mime.types;
24 default_type application/octet-stream;
25
26 ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
27 ssl_prefer_server_ciphers on;
28
29 access_log /var/log/nginx/access.log;
30 error_log /var/log/nginx/error.log;
31
32 gzip on;
33
34 # gzip_vary on;
35 gzip_proxied any;
36 gzip_comp_level 8;
37 # gzip_buffers 16 8k;
38 # gzip_http_version 1.1;
39 gzip_types *;
40
41 include /etc/nginx/sites/*/conf.d/*.conf;
42 include /etc/nginx/sites/*/servers/*.conf;
43}
44