mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
21 lines
300 B
Nginx Configuration File
21 lines
300 B
Nginx Configuration File
events { worker_connections 1024; }
|
|
|
|
http {
|
|
|
|
rewrite_log on;
|
|
error_log /var/log/nginx/localhost.error_log notice;
|
|
access_log off;
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
location / {
|
|
proxy_pass http://frontend:5000/;
|
|
}
|
|
|
|
location /api/ {
|
|
proxy_pass http://backend:8080/;
|
|
}
|
|
}
|
|
}
|