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