nginx

yknam·2023년 1월 13일
0

nginx dir

/etc/nginx

nginx 설정

/etc/nginx/sites-available/default

reverse-proxy 설정

 location /flowise {
    rewrite ^/flowise(.*) $1 break;
    proxy_pass  "http://namubuntu:6888";
 }
위의 코드 추가후 
service nginx start

html folder

/etc/nginx/sites-enabled/default 내의

root /var/www/html;
index index.html index.htm

index.html 위치

/var/www/html/index.html

profile
50대 개발자 노드, 자바스크립트

0개의 댓글