init commit
This commit is contained in:
23
ctrl/nginx.conf
Normal file
23
ctrl/nginx.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location /agents {
|
||||
proxy_pass http://api:8000;
|
||||
}
|
||||
|
||||
location /scenarios {
|
||||
proxy_pass http://api:8000;
|
||||
}
|
||||
|
||||
location /ws/ {
|
||||
proxy_pass http://api:8000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user