werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

nginx.conf (1512B)


      1 user                            www;
      2 worker_processes                auto; # it will be determinate automatically by the number of core
      3 error_log                       /var/log/nginx/error.log warn;
      4 pid                             /var/run/nginx/nginx.pid; # it permit you to use /etc/init.d/nginx reload|restart|stop|start
      5 
      6 events {
      7     worker_connections          1024;
      8 }
      9 
     10 http {
     11 
     12         ##
     13         # Basic Settings
     14         ##
     15 
     16         sendfile on;
     17         tcp_nopush on;
     18         types_hash_max_size 2048;
     19         # server_tokens off;
     20 
     21         server_names_hash_bucket_size 64;
     22         # server_name_in_redirect off;
     23 
     24         include /etc/nginx/mime.types;
     25         default_type application/octet-stream;
     26 
     27         ##
     28         # SSL Settings
     29         ##
     30 
     31         ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
     32         ssl_prefer_server_ciphers on;
     33 
     34         ##
     35         # Logging Settings
     36         ##
     37 
     38         access_log /var/log/nginx/access.log;
     39         error_log /var/log/nginx/error.log;
     40 
     41         ##
     42         # Gzip Settings
     43         ##
     44 
     45         gzip on;
     46 
     47         # gzip_vary on;
     48         # gzip_proxied any;
     49         # gzip_comp_level 6;
     50         # gzip_buffers 16 8k;
     51         # gzip_http_version 1.1;
     52         # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
     53 
     54         ##
     55         # Virtual Host Configs
     56         ##
     57 
     58         include /etc/nginx/conf.d/*.conf;
     59         include /etc/nginx/sites-enabled/*;
     60 }