background All company websites need to support the HTTPS protocol. After the SSL certificate is configured on Alibaba Cloud Load Balancing, HTTPS access to Nexus fails. Website access path: The domain name is resolved to Alibaba Cloud's load balancing, the load balancing is configured to force port 80 to port 443, the 443 port is configured with an SSL certificate and forwarded to the intranet nginx, and the intranet nginx then proxies the Nexus service. solve The browser HTTPS access Nexus Console error message: The error message roughly means: HTTP requests are not allowed on pages accessed via HTTPS. Solution: Add "proxy_set_header X-Forwarded-Proto https;" to the nginx configuration file so that nginx uses the HTTPS protocol when forwarding. Nexus configuration content in nginx.conf: location ^~ /nexus { proxy_pass http://xxxx:8080/nexus; sendfile off; 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 https; # Use https protocol when forwarding proxy_max_temp_file_size 0; # This is the maximum upload size client_max_body_size 20m; client_body_buffer_size 128k; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_temp_file_write_size 64k; # Required for new HTTP-based CLI proxy_http_version 1.1; proxy_request_buffering off; proxy_buffering off; # Required for HTTP-based CLI to work over SSL } The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: MySQL cross-table query and cross-table update
Page replacement algorithm: The essence is to mak...
The simple installation configuration of mysql5.7...
Q: I don’t know what is the difference between xml...
1. Download, install and configure mysql-8.0.15 1...
Pitfalls encountered I spent the whole afternoon ...
The /partition utilization of a server in IDC is ...
nohup command: If you are running a process and y...
Table of contents 1. Introduction 2. Main text 2....
Purchase Certificate You can purchase it from Ali...
Sprite Cow download CSS Lint download Prefixr dow...
The TextBox with the ReadOnly attribute will be di...
1. Press win + R and type cmd to enter the DOS wi...
Table of contents need: Main points: According to...
Deleting a single table: DELETE FROM tableName WH...
Table of contents 1. Install vmware 1.1 Download ...