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