jjtyro commented on issue #283: service center frontend how to support https? URL: https://github.com/apache/incubator-servicecomb-service-center/issues/283#issuecomment-367322530 Temporarily using Nginx as a proxy, it works except the microservice schema testing. Nginx's config is: `events { worker_connections 10; } http { upstream center { server 10.210.33.53:30100; server 10.210.33.54:30100; server 10.210.33.55:30100; } server { listen 30103; server_name 10.210.33.53; root /usr/share/nginx/html; index index.html index.htm; #charset utf-8; location / { try_files $uri $uri/ /index.html; } location ~ /v[0-9][.0-9]*/.*/(registry|govern) { proxy_pass https://center; proxy_ssl_certificate /etc/ssl/front/server.cer; proxy_ssl_certificate_key /etc/ssl/front/server_key.pem; proxy_ssl_trusted_certificate /etc/ssl/front/trust.cer; } } }` Run nginx using docker, command line like this: `docker run --rm --name center-front -v /home/svccomb/center-front/conf/nginx.conf:/etc/nginx/nginx.conf -v /home/svccomb/center-front/app:/usr/share/nginx/html -v /home/svccomb/center/etc/ssl:/etc/ssl/front -p 30103:30103 nginx:1.13 -d`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
