...

Text file src/edge-infra.dev/cmd/sds/novnc/nginx/nginx.conf

Documentation: edge-infra.dev/cmd/sds/novnc/nginx

     1user  nginx;
     2worker_processes  1;
     3
     4error_log  /var/log/nginx/error.log warn;
     5pid        /var/run/nginx.pid;
     6
     7
     8events {
     9    worker_connections  1024;
    10}
    11
    12
    13http {
    14    include       /etc/nginx/mime.types;
    15    default_type  application/octet-stream;
    16
    17    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    18                      '$status $body_bytes_sent "$http_referer" '
    19                      '"$http_user_agent" "$http_x_forwarded_for"';
    20
    21    log_format wsendpoint escape=json '{'
    22            '"token": "$arg_token",'
    23            '"requestID": "$arg_requestID",'
    24            '"username": "$http_x_webauth_user",'
    25            '"request": "$request",'
    26            '"originalURI": "$request_uri"'
    27            '}';
    28
    29    access_log  /var/log/nginx/access.log  main;
    30
    31    sendfile        on;
    32    #tcp_nopush     on;
    33
    34    keepalive_timeout  65;
    35
    36    #gzip  on;
    37
    38    include /etc/nginx/conf.d/*.conf;
    39}

View as plain text