You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
431 B
18 lines
431 B
map $http_host $directus {
|
|
directus-mi.local.wpstudio.ru directus-mi;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name
|
|
directus-mi.local.wpstudio.ru
|
|
;
|
|
location / {
|
|
resolver 127.0.0.11;
|
|
proxy_pass http://$directus:8055;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
}
|