update conf
This commit is contained in:
1 parent
537ef21cf3
commit
679faf9fc2
1 file changed
+6
-5
+6
-5
@@ -1,20 +1,22 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
location ~ ^/api/(me|token) {
|
||||
location /api/me {
|
||||
proxy_pass http://auth-backend:8000;
|
||||
}
|
||||
|
||||
location /api/token {
|
||||
proxy_pass http://auth-backend:8000;
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://data-backend:8000;
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
proxy_pass http://data-backend:8000;
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
location / {
|
||||
@@ -24,7 +26,6 @@ server {
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
|
||||
location = /50x.html {
|
||||
|
||||
Reference in new issue
Block a user