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