8f9dab
# For more information on configuration, see:
8f9dab
#   * Official English Documentation: http://nginx.org/en/docs/
8f9dab
#   * Official Russian Documentation: http://nginx.org/ru/docs/
8f9dab
8f9dab
user nginx;
8f9dab
worker_processes auto;
8f9dab
error_log /var/log/nginx/error.log;
8f9dab
pid /run/nginx.pid;
8f9dab
8f9dab
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
8f9dab
include /usr/share/nginx/modules/*.conf;
8f9dab
8f9dab
events {
8f9dab
    worker_connections 1024;
8f9dab
}
8f9dab
8f9dab
http {
8f9dab
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
8f9dab
                      '$status $body_bytes_sent "$http_referer" '
8f9dab
                      '"$http_user_agent" "$http_x_forwarded_for"';
8f9dab
8f9dab
    access_log  /var/log/nginx/access.log  main;
8f9dab
8f9dab
    sendfile            on;
8f9dab
    tcp_nopush          on;
8f9dab
    tcp_nodelay         on;
8f9dab
    keepalive_timeout   65;
8f9dab
    types_hash_max_size 4096;
8f9dab
8f9dab
    include             /etc/nginx/mime.types;
8f9dab
    default_type        application/octet-stream;
8f9dab
8f9dab
    # Load modular configuration files from the /etc/nginx/conf.d directory.
8f9dab
    # See http://nginx.org/en/docs/ngx_core_module.html#include
8f9dab
    # for more information.
8f9dab
    include /etc/nginx/conf.d/*.conf;
8f9dab
8f9dab
    server {
8f9dab
        listen       80;
8f9dab
        listen       [::]:80;
8f9dab
        server_name  _;
8f9dab
        root         /usr/share/nginx/html;
8f9dab
8f9dab
        # Load configuration files for the default server block.
8f9dab
        include /etc/nginx/default.d/*.conf;
8f9dab
8f9dab
        error_page 404 /404.html;
8f9dab
            location = /40x.html {
8f9dab
        }
8f9dab
8f9dab
        error_page 500 502 503 504 /50x.html;
8f9dab
            location = /50x.html {
8f9dab
        }
8f9dab
    }
8f9dab
8f9dab
# Settings for a TLS enabled server.
8f9dab
#
8f9dab
#    server {
8f9dab
#        listen       443 ssl http2;
8f9dab
#        listen       [::]:443 ssl http2;
8f9dab
#        server_name  _;
8f9dab
#        root         /usr/share/nginx/html;
8f9dab
#
8f9dab
#        ssl_certificate "/etc/pki/nginx/server.crt";
8f9dab
#        ssl_certificate_key "/etc/pki/nginx/private/server.key";
8f9dab
#        ssl_session_cache shared:SSL:1m;
8f9dab
#        ssl_session_timeout  10m;
8f9dab
#        ssl_ciphers PROFILE=SYSTEM;
8f9dab
#        ssl_prefer_server_ciphers on;
8f9dab
#
8f9dab
#        # Load configuration files for the default server block.
8f9dab
#        include /etc/nginx/default.d/*.conf;
8f9dab
#
8f9dab
#        error_page 404 /404.html;
8f9dab
#            location = /40x.html {
8f9dab
#        }
8f9dab
#
8f9dab
#        error_page 500 502 503 504 /50x.html;
8f9dab
#            location = /50x.html {
8f9dab
#        }
8f9dab
#    }
8f9dab
8f9dab
}
8f9dab