fix: Nginx SSL support for Apache proxy
This commit is contained in:
@@ -15,7 +15,10 @@ upstream tool-payment {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8281 http2;
|
||||
listen 8281 ssl;
|
||||
ssl_certificate /etc/nginx/ssl/nginx.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/nginx.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://gateway;
|
||||
proxy_http_version 1.1;
|
||||
@@ -28,7 +31,7 @@ server {
|
||||
}
|
||||
}
|
||||
server {
|
||||
listen 8282 http2;
|
||||
listen 8282;
|
||||
location / {
|
||||
proxy_pass http://tool-sms;
|
||||
proxy_http_version 1.1;
|
||||
@@ -41,7 +44,7 @@ server {
|
||||
}
|
||||
}
|
||||
server {
|
||||
listen 8283 http2;
|
||||
listen 8283;
|
||||
location / {
|
||||
proxy_pass http://tool-email;
|
||||
proxy_http_version 1.1;
|
||||
@@ -54,7 +57,7 @@ server {
|
||||
}
|
||||
}
|
||||
server {
|
||||
listen 8284 http2;
|
||||
listen 8284;
|
||||
location / {
|
||||
proxy_pass http://tool-other;
|
||||
proxy_http_version 1.1;
|
||||
@@ -67,7 +70,7 @@ server {
|
||||
}
|
||||
}
|
||||
server {
|
||||
listen 8285 http2;
|
||||
listen 8285;
|
||||
location / {
|
||||
proxy_pass http://tool-payment;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user