waku-simulator/nginx.conf
Tanya S 580a74e7cc
Block explorer nginx (#61)
* add nginx service for block explorer

* return environment variables for web service

* remove exposed port from web service and change nginx port to 3000
2024-06-07 16:53:01 +02:00

21 lines
298 B
Nginx Configuration File

events { }
http {
server {
listen 80;
charset utf-8;
location /api/ {
proxy_pass http://api:8090/;
}
location / {
proxy_pass http://web:3000/;
}
error_page 500 502 503 504 /5xx.html;
location /5xx.html {
root /www/error_pages/;
}
}
}