Skip to content

Commit 99009e0

Browse files
Merge pull request #25 from rafaelshayashi/feature/improve-config-files-structure
Feature/improve config files structure
2 parents ea1e132 + 869d3fb commit 99009e0

File tree

3 files changed

+27
-9
lines changed

3 files changed

+27
-9
lines changed
File renamed without changes.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
server {
2+
3+
# Ports for incoming requests
4+
listen 80;
5+
listen [::]:80;
6+
listen 443;
7+
listen [::]:443;
8+
9+
server_name proxy;
10+
11+
# Proxy routes
12+
location /config-server/ {
13+
proxy_pass http://config-server:8080/;
14+
}
15+
16+
location /catalogue/ {
17+
proxy_pass http://catalogue:8080/;
18+
}
19+
20+
location /library/ {
21+
proxy_pass http://library:8080/;
22+
}
23+
24+
location /auth/ {
25+
proxy_pass http://sso:8080/;
26+
}
27+
}

nginx/config/default.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)