Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
nginx.conf 572 B
server {
    listen 80;

    location / {
        proxy_pass         http://openccg:8080/;
        proxy_redirect     off;

        proxy_set_header   Host                 $host;
        proxy_set_header   X-Real-IP            $remote_addr;
        proxy_set_header   X-Forwarded-For      $proxy_add_x_forwarded_for;
        proxy_set_header   X-Forwarded-Proto    $scheme;
    }

    location /grammar {
        alias /OpenCCG.ebnf;
        add_header Content-Disposition 'inline; filename="OpenCCG.ebnf"';
        default_type text/plain;
        charset utf-8;
    }
}