Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
699 B
14
Indexable
Never
user www—data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules—enabled/*.conf; 

events {
        worker_connections 768; 
}

http {
        sendfile on; 
        tcp_nopush on;
        types_hash_max_size 2048;

        include /etc/nginx/mime.types;
        default_type application/octet—stream;

        access_log /var/log/nginx/access.log;
        error_log /var/log/nginx/error.log; 

        include /etc/nginx/conf.d/*.conf;
        include /etc/nginx/sites—enabled/*;

        server {
        listen 8002;
        server_name zhdanov.ru; 
        
        location / {
                root /var/www/html/;
                index index.html;
        }
    }
}