|
|
@ -1,5 +1,10 @@ |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-administration; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-administration; |
|
|
server_name eshop-st-administration; |
|
|
|
|
|
|
|
|
@ -15,6 +20,16 @@ server { |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-identity; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-identity:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-identity; |
|
|
server_name eshop-st-identity; |
|
|
|
|
|
|
|
|
@ -30,6 +45,16 @@ server { |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-authserver; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-authserver:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-authserver; |
|
|
server_name eshop-st-authserver; |
|
|
|
|
|
|
|
|
@ -41,11 +66,20 @@ server { |
|
|
location / { |
|
|
location / { |
|
|
proxy_pass http://eshop-st-authserver:80; |
|
|
proxy_pass http://eshop-st-authserver:80; |
|
|
proxy_set_header Host $host; |
|
|
proxy_set_header Host $host; |
|
|
add_header from-ingress true; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-web; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-web:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-web; |
|
|
server_name eshop-st-web; |
|
|
|
|
|
|
|
|
@ -65,6 +99,16 @@ server { |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-public-web; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-web:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-public-web; |
|
|
server_name eshop-st-public-web; |
|
|
|
|
|
|
|
|
@ -75,15 +119,40 @@ server { |
|
|
|
|
|
|
|
|
location / { |
|
|
location / { |
|
|
proxy_pass http://eshop-st-public-web:80; |
|
|
proxy_pass http://eshop-st-public-web:80; |
|
|
|
|
|
|
|
|
proxy_set_header Host $host; |
|
|
proxy_set_header Host $host; |
|
|
|
|
|
|
|
|
proxy_buffer_size 128k; |
|
|
proxy_buffer_size 128k; |
|
|
proxy_buffers 4 256k; |
|
|
proxy_buffers 4 256k; |
|
|
proxy_busy_buffers_size 256k; |
|
|
proxy_busy_buffers_size 256k; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
location /signalr-hubs { |
|
|
|
|
|
proxy_pass http://eshop-st-public-web:80; |
|
|
|
|
|
|
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
|
|
|
|
|
|
proxy_http_version 1.1; |
|
|
|
|
|
proxy_set_header Upgrade $http_upgrade; |
|
|
|
|
|
proxy_set_header Connection "Upgrade"; |
|
|
|
|
|
proxy_cache_bypass $http_upgrade; |
|
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-basket; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-basket:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-basket; |
|
|
server_name eshop-st-basket; |
|
|
|
|
|
|
|
|
@ -99,6 +168,16 @@ server { |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-catalog; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-catalog:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-catalog; |
|
|
server_name eshop-st-catalog; |
|
|
|
|
|
|
|
|
@ -114,6 +193,16 @@ server { |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-ordering; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-ordering:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-ordering; |
|
|
server_name eshop-st-ordering; |
|
|
|
|
|
|
|
|
@ -129,6 +218,16 @@ server { |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-payment; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-payment:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-payment; |
|
|
server_name eshop-st-payment; |
|
|
|
|
|
|
|
|
@ -144,6 +243,11 @@ server { |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-gateway-web-public; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-gateway-web-public; |
|
|
server_name eshop-st-gateway-web-public; |
|
|
|
|
|
|
|
|
@ -154,11 +258,24 @@ server { |
|
|
|
|
|
|
|
|
location / { |
|
|
location / { |
|
|
proxy_pass http://eshop-st-gateway-web-public:80; |
|
|
proxy_pass http://eshop-st-gateway-web-public:80; |
|
|
proxy_set_header Host $host; |
|
|
proxy_set_header Host $host; |
|
|
|
|
|
|
|
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
|
|
|
server_name eshop-st-gateway-web; |
|
|
|
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
|
proxy_pass http://eshop-st-gateway-web:80; |
|
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
server { |
|
|
listen 443 ssl; |
|
|
listen 443 ssl; |
|
|
server_name eshop-st-gateway-web; |
|
|
server_name eshop-st-gateway-web; |
|
|
|
|
|
|
|
|
|