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