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