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.
 
 
 
 
 

49 lines
1.0 KiB

daemon off;
worker_processes auto;
pid /run/nginx/nginx.pid;
error_log stderr;
events {
worker_connections 768;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 0;
include /etc/nginx/mime.types;
default_type application/octet-stream;
client_body_temp_path /run/nginx/client_body;
proxy_temp_path /run/nginx/proxy_temp;
fastcgi_temp_path /run/nginx/fastcgi_temp;
scgi_temp_path /run/nginx/scgi_temp;
uwsgi_temp_path /run/nginx/uwsgi_temp;
access_log /dev/stdout;
gzip on;
gzip_disable "msie6";
server {
listen 8000 default_server;
server_name _;
root /app/code/ui/dist;
# docker cli
location /v2 {
proxy_pass http://localhost:5000;
}
# ui client
location /v2ui {
# trailing slash is important! nginx will normalize the path when forwarding
proxy_pass http://localhost:5000/;
}
}
}