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