Skip to content

Commit

Permalink
Merge pull request #25 from rafaelshayashi/feature/improve-config-fil…
Browse files Browse the repository at this point in the history
…es-structure

Feature/improve config files structure
  • Loading branch information
rafaelshayashi authored Apr 25, 2021
2 parents ea1e132 + 869d3fb commit 99009e0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
File renamed without changes.
27 changes: 27 additions & 0 deletions config-files/nginx/config/default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
server {

# Ports for incoming requests
listen 80;
listen [::]:80;
listen 443;
listen [::]:443;

server_name proxy;

# Proxy routes
location /config-server/ {
proxy_pass http://config-server:8080/;
}

location /catalogue/ {
proxy_pass http://catalogue:8080/;
}

location /library/ {
proxy_pass http://library:8080/;
}

location /auth/ {
proxy_pass http://sso:8080/;
}
}
9 changes: 0 additions & 9 deletions nginx/config/default.conf

This file was deleted.

0 comments on commit 99009e0

Please sign in to comment.