> For the complete documentation index, see [llms.txt](https://cswang.gitbook.io/dcos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cswang.gitbook.io/dcos/linux.md).

# Linux

```
server {
    listen 80 default_server;

    location / {
        proxy_pass            http://localhost:{{ jupyter_server_port }};
        proxy_set_header      Host $host;
    }

    location /api/kernels/ {
        proxy_pass            http://localhost:{{ jupyter_server_port }};
        proxy_set_header      Host $host;
        # websocket support
        proxy_http_version    1.1;
        proxy_set_header      Upgrade "websocket";
        proxy_set_header      Connection "Upgrade";
        proxy_read_timeout    86400;
    }
}
```
