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