Configuring reverse proxy
upstream appA {
server 127.0.0.1:3000;
}
upstream appB {
server 127.0.0.1:4000;
}
server {
listen 80;
server_name appa.domain.com;
location / {
proxy_pass http://appA;
}
}
server {
listen 80;
server_name appb.domain.com;
location / {
proxy_pass http://appB;
}
}
Last update:
July 13, 2022
Created: July 13, 2022
Created: July 13, 2022