plane/nginx/nginx.conf
pablohashescobar 0416e07f46
refactor: self hosting setup (#411)
* merge-commit: self hosted updates

* dev: updates in self hosting setup

* dev: update script to get the instance IP

* dev: update script to generate backend secret key
2023-03-09 20:49:12 +05:30

20 lines
290 B
Nginx Configuration File

events { }
http {
sendfile on;
server {
listen 80;
root /www/data/;
access_log /var/log/nginx/access.log;
location / {
proxy_pass http://planefrontend:3000/;
}
location /api/ {
proxy_pass http://planebackend:8000/api/;
}
}
}