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