Fix nginx.dev

This commit is contained in:
Adria Navarro 2023-01-24 12:38:22 +00:00
parent 40662b05cc
commit 792f4cf772
1 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ http {
} }
location /db/ { location /db/ {
proxy_pass http://dev-service:5984; proxy_pass http://couchdb-service:5984;
rewrite ^/db/(.*)$ /$1 break; rewrite ^/db/(.*)$ /$1 break;
} }
@ -183,7 +183,7 @@ http {
proxy_set_header Connection ""; proxy_set_header Connection "";
chunked_transfer_encoding off; chunked_transfer_encoding off;
proxy_pass http://dev-service:9000; proxy_pass http://minio-service:9000;
} }
location /files/signed/ { location /files/signed/ {
@ -194,7 +194,7 @@ http {
# IMPORTANT: Signed urls will inspect the host header of the request. # IMPORTANT: Signed urls will inspect the host header of the request.
# Normally a signed url will need to be generated with a specified client host in mind. # Normally a signed url will need to be generated with a specified client host in mind.
# To support dynamic hosts, e.g. some unknown self-hosted installation url, # To support dynamic hosts, e.g. some unknown self-hosted installation url,
# use a predefined host header. The host 'dev-service' is also used at the time of url signing. # use a predefined host header. The host 'minio-service' is also used at the time of url signing.
proxy_set_header Host minio-service; proxy_set_header Host minio-service;
proxy_connect_timeout 300; proxy_connect_timeout 300;
@ -202,7 +202,7 @@ http {
proxy_set_header Connection ""; proxy_set_header Connection "";
chunked_transfer_encoding off; chunked_transfer_encoding off;
proxy_pass http://dev-service:9000; proxy_pass http://minio-service:9000;
rewrite ^/files/signed/(.*)$ /$1 break; rewrite ^/files/signed/(.*)$ /$1 break;
} }