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