updates distributed service
This commit is contained in:
23
docker/nginx.conf
Normal file
23
docker/nginx.conf
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user