updates distributed service

This commit is contained in:
Zheyuan Wu
2025-10-24 15:58:12 -05:00
parent d8096410af
commit 05d5b92255
12 changed files with 224 additions and 19 deletions

23
docker/nginx.conf Normal file
View File

@@ -0,0 +1,23 @@
# Example for conf.d/default.conf
server {
listen 80;
server_name localhost;
location /Math* {
proxy_pass http://notenextra-math:4201;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /CSE* {
proxy_pass http://notenextra-cse:4202;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}