This commit is contained in:
Ivan Paulovich 2020-09-11 11:54:31 +02:00
parent 95c58c0ddf
commit ae444cce0a
12 changed files with 251 additions and 299 deletions

View File

@ -1,13 +1,14 @@
version: '3.4'
services:
nginx:
volumes:
- ~/.aspnet/https:/https:ro
# nginx:
# volumes:
# - ~/.aspnet/https:/https:ro
accounts-api:
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=https://+;http://+
- ASPNETCORE_HTTPS_PORT=443
- ASPNETCORE_Kestrel__Certificates__Default__Password=MyCertificatePassword
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/localhost.pfx
volumes:
@ -16,7 +17,7 @@ services:
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=https://+;http://+
- ASPNETCORE_HTTPS_PORT=5000
- ASPNETCORE_HTTPS_PORT=443
- ASPNETCORE_Kestrel__Certificates__Default__Password=MyCertificatePassword
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/localhost.pfx
volumes:

View File

@ -1,28 +1,27 @@
-----BEGIN CERTIFICATE-----
MIIEwzCCAqugAwIBAgIJALV82IO22JmcMA0GCSqGSIb3DQEBCwUAMBQxEjAQBgNV
BAMMCWxvY2FsaG9zdDAeFw0yMDA5MTAyMDUzMTNaFw0zMDA5MDgyMDUzMTNaMBQx
EjAQBgNVBAMMCWxvY2FsaG9zdDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC
ggIBAK7qWN9FQYDwdlTnEbGzcwFYmyzJPgsOMrrFSpclYGM8SCNJeuEOaT2SdVbX
ARLm3I13Gap93ouJPh4SB+WmNjljAq3ZD9DuO9b+thiyjEX4mvPbOK1zONs0YSav
wBuWmxnRAlqs+p27MR6nKcXA8B2hal4V/cG321HhI6mNi6NiGjrNQkdjEnNFtmUz
VbhSvZc4/AljvhDsFma2D6r6dIUFZ5GsSfvL7LlVO5ofa/c3mPYHMWXWbxk2tDmi
+sI7QG9tI07uxMEC7qN1tU3OG5kH8XbrzAQ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xgws
pmL7N7AqJVXEutaKOVBJFHt2nzJ2M1AwAcFS2xILGGbT4kzlMV4hjaMBfACGH2jc
hSUgR5I8fOhZlYjbPBtDBufhcCIlTtoktbEY+Uk9186VA77xKhw4LOocVHzeR30E
4Hz8wVGv/BiWm/q623rFt3tbE5lX6bSFMDdtZGccURLY0xoYpUh1RprITboaA2GB
/U4o4h6geWNWYhb62h5VLlv+g2eRheAoGdOQ0I4Mcx60R/s3HSwznRGUs5K8x0CM
7wKCAQAqXevQAqcBS4xmLWCJ7OXgUCS5Eucbh11MaUeB7g20hz4+A1Hf5ZbWZy9O
yudD6xiruE2UsLbVucspzqkHVZtut31Jdco4D+4CwAN+Dct+MA2bN+qhaMkuo3o7
jp6XQ4S0p9jctALpGKBgysT290fZTbkqZakdCG7O1BHcGP8sniRwvcNFN/iL9gdm
eZRCcN9YqxMnb8UOmWlqogktkJ20slE41o+jPynt83/cEW0/P5aT06c1jnbLBopC
AdFRvKy1vvWnkyDLgKSn6zUuI/6NYxfz+RbRQI7wIna6Ed+60OlcrnIbdtG1c++S
u92ynlWvfgODNKzlwh0oP+2SeIWC
-----END PRIVATE KEY-----

View File

@ -1,5 +1,5 @@
#!/bin/bash
openssl req -x509 -newkey rsa:4096 -keyout localhost.key -out localhost.crt -days 3650 -nodes -subj "/CN=localhost" -config ssl-selfsigned.cnf
openssl req -x509 -newkey rsa:4096 -keyout localhost.key -out localhost.crt -days 3650 -nodes -subj "/CN=wallet.local"
openssl pkcs12 -export -out localhost.pfx -inkey localhost.key -in localhost.crt -name "Localhost selfsigned certificate" -password pass:MyCertificatePassword
cp localhost.key ~/.aspnet/https/localhost.key
cp localhost.crt ~/.aspnet/https/localhost.crt

View File

@ -1,28 +1,2 @@
[ req ]
#default_bits = 2048
#default_md = sha256
#default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
x509_extensions = v3_ca
[ v3_ca ]
subjectAltName=DNS:localhost
[ req_distinguished_name ]
countryName = Country Name (2 letter code)
countryName_min = 2
countryName_max = 2
stateOrProvinceName = State or Province Name (full name)
localityName = Locality Name (eg, city)
0.organizationName = Organization Name (eg, company)
organizationalUnitName = Organizational Unit Name (eg, section)
commonName = Common Name (eg, fully qualified host name)
commonName_max = 64
emailAddress = Email Address
emailAddress_max = 64
[ req_attributes ]
challengePassword = A challenge password
challengePassword_min = 4
challengePassword_max = 20
[SAN]
subjectAltName=DNS:wallet.local

View File

@ -1,27 +1,27 @@
-----BEGIN CERTIFICATE-----
MIIEpDCCAowCCQC1uMe/NVqDxzANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAls
b2NhbGhvc3QwHhcNMjAwOTEwMjA0MzU3WhcNMzAwOTA4MjA0MzU3WjAUMRIwEAYD
VQQDDAlsb2NhbGhvc3QwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC4
+J3TbEOV+H9L9hYJVuJgKLUPlfeUWxSzYKzAq8nwrzdIiNpB2qEtwnG6JMlj5f+w
8+g3Xaq33l+l30E8QwHZtqr3MNTUPPfT89IxZmIq+Bsw/qr1cJdPxgmMZponOyuM
SJ3ZqC5zQgP71v8ZLZbcZWMZm5k2e7aYcfbxdyOh+XF/jANZpLVGK05hn76YsJ+a
lroHE/Hwsi5+6sbFImSYvx9QRTWBVZcCXE0rbDiFyP/Hvrc85TI0tWKXGWsqLvih
O3Y55tiMRdlCibjVfVoBVhPnZPJOmlOaInsTaQB7KfNV4LPTpQ6B1kkgpcXT93eV
mTbWkvjp6vuoQrUu1eN4gXAoKSDJ+61MpwpUNbiMtq1u7Wt9Yknd6OiJcbhmc+SN
kmkgr6zje7XlTNK7ubCi/M1pwV6N0jEIXA1s17dSRoC1dkJf0IRBZ8mN5ldXhLjx
M6yiOOJg0WFV4OQC1aLUKv0/kcEEwBSIq4/OYhMSn8yTCCq8xKmlmkmXC0Np3UEy
WEjBda7GvoFYVuIdMCKCgKz24AkL7uEQQ0RHAFmy5s0UXJmB5DyMaW7Bfr3jh81E
rqbw3I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ruE2UsLbVucspzqkHVZtut31Jdco4D+4CwAN+Dct+MA2bN+qhaMkuo3o7
jp6XQ4S0p9jctALpGKBgysT290fZTbkqZakdCG7O1BHcGP8sniRwvcNFN/iL9gdm
eZRCcN9YqxMnb8UOmWlqogktkJ20slE41o+jPynt83/cEW0/P5aT06c1jnbLBopC
AdFRvKy1vvWnkyDLgKSn6zUuI/6NYxfz+RbRQI7wIna6Ed+60OlcrnIbdtG1c++S
u92ynlWvfgODNKzlwh0oP+2SeIWC
-----END PRIVATE KEY-----

View File

@ -5,7 +5,6 @@ events {
}
http {
sendfile on;
server {
@ -18,50 +17,33 @@ http {
server {
listen 443 ssl;
server_name wallet.local;
# server_name wallet.local;
ssl_certificate /etc/ssl/certs/localhost.crt;
ssl_certificate_key /etc/ssl/private/localhost.key;
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $server_name;
location /identity-server {
rewrite /identity-server/?(.*) /$1 break;
proxy_pass https://identity-server;
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $server_name;
proxy_pass http://identity-server;
}
location /accounts-api {
rewrite /accounts-api/?(.*) /$1 break;
proxy_pass https://accounts-api;
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $server_name;
}
# location /accounts-api {
# rewrite /accounts-api/?(.*) /$1 break;
# proxy_pass http://accounts-api;
# }
location / {
proxy_pass https://wallet-spa;
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $server_name;
proxy_pass http://wallet-spa:3000;
}
}
}

View File

@ -1,4 +0,0 @@
HTTPS=true
PORT=443
SSL_CRT_FILE=localhost.crt
SSL_KEY_FILE=localhost.key

View File

@ -9,5 +9,5 @@ RUN npm install
COPY . .
#Expose port and start application
EXPOSE 443
EXPOSE 3000
CMD ["npm", "start"]

View File

@ -1,27 +1,27 @@
-----BEGIN CERTIFICATE-----
MIIEpDCCAowCCQC1uMe/NVqDxzANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAls
b2NhbGhvc3QwHhcNMjAwOTEwMjA0MzU3WhcNMzAwOTA4MjA0MzU3WjAUMRIwEAYD
VQQDDAlsb2NhbGhvc3QwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC4
+J3TbEOV+H9L9hYJVuJgKLUPlfeUWxSzYKzAq8nwrzdIiNpB2qEtwnG6JMlj5f+w
8+g3Xaq33l+l30E8QwHZtqr3MNTUPPfT89IxZmIq+Bsw/qr1cJdPxgmMZponOyuM
SJ3ZqC5zQgP71v8ZLZbcZWMZm5k2e7aYcfbxdyOh+XF/jANZpLVGK05hn76YsJ+a
lroHE/Hwsi5+6sbFImSYvx9QRTWBVZcCXE0rbDiFyP/Hvrc85TI0tWKXGWsqLvih
O3Y55tiMRdlCibjVfVoBVhPnZPJOmlOaInsTaQB7KfNV4LPTpQ6B1kkgpcXT93eV
mTbW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