mirror of
https://github.com/directus/directus.git
synced 2026-02-14 09:44:55 -05:00
18 lines
432 B
Markdown
18 lines
432 B
Markdown
# Nginx Setup Guide
|
|
|
|
You can configure `/etc/nginx/sites-available/default` with the following config to use it as a
|
|
reverse proxy to Directus:
|
|
|
|
```
|
|
. . .
|
|
location / {
|
|
proxy_pass http://localhost:8055;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
}
|
|
```
|