nginx 403 can't access picture resources

Open a new server and configure nginx server { listen 80 default_server; listen [::]:80 default_server; server_name www.auceo.cn; root /data/www; include /etc/nginx/default.d/*.conf; location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { root /data/www; ...

Posted by drax007 on Sat, 02 May 2020 11:58:00 -0700

Two ways for nginx to turn on ssl and redirect http to https

1 Introduction Nginx is a very powerful and popular high-performance Web server. This article explains how nginx integrates https and redirects http to https. https related articles are as follows: (1)Spring boot integration https is so simple (2)Key knowledge and key tools of HTTPS Keytool and keystore Explorer (3)Two ways for spring boot to r ...

Posted by damienwc on Sat, 02 May 2020 10:20:58 -0700

The installation and use of nginx under Windows

The original application ran with a single node, and the user always complained that the service response was very slow. In order to improve the user experience, we thought of trying to alleviate the multi-node load balancing Because of the pressure of the server, we found the window version of nginx. According to the introduction of the para ...

Posted by onlinegamesnz on Sat, 02 May 2020 07:18:40 -0700

Using bootstrap 4 + vue2 to realize paging query

Write in front   the project is designed for front-end and back-end separation, using Nginx as the front-end resource server, and realizing the reverse proxy of the back-end service. The background is Java Web project, which uses Tomcat to deploy services. Front end framework: bootstrap 4, Vue.js2 Background framework: spring boot, sprin ...

Posted by discomatt on Fri, 01 May 2020 09:25:22 -0700

Nginx access log, nginx log cutting, nginx does not record static files

Access log for Nginx The log format of Nginx is in the main configuration file of Nginx (/ usr/local/nginx/conf/nginx.conf) [root@shuai-01 vhost]# vim /usr/local/nginx/conf/nginx.conf You can change the log format name to shaui The meaning of Nginx log field Define the format of the log in the main configur ...

Posted by Devine on Fri, 01 May 2020 03:42:12 -0700

Using devpi to build pypi private server in Intranet

Install devpi Summary devpi consists of three components: Devpi server: provides image and cache functions, deploys in the DMZ area of the enterprise, and improves the efficiency of downloading python package Devpi Web: provide web interface and query function Devpi client: command line tool, providing package upload and other functions d ...

Posted by d_barszczak on Thu, 30 Apr 2020 16:57:21 -0700

nginx installation, configuration, equalization, dynamic and static separation of tomcat

nginx download and installation nginx download address: nginx download address Install compiler and dependency Libraries yum install gcc gcc-c++ zlib-devel pcre-devel openssl-devel openssl-libs openssl -y nginx installation: Run to nginx root: Make & & make install After the installation is completed, you ...

Posted by rj2kix on Thu, 30 Apr 2020 08:08:45 -0700

Ansible column: play ansible in one step

Play Ansible in one step I wrote a column about Ansible. It's very systematic from 0 to 1. It's about 39W words. There are more than 430 pages of pdf, only 39 yuan. Address: https://blog.51cto.com/cloumn/detail/83 Column contents: 1. Learning is not confused: how can Ansible master 2. Entering the Ansible world: usage overview and initial ...

Posted by huhn_m on Thu, 30 Apr 2020 00:37:41 -0700

13. Spring cloud Alibaba Chapter 13, upgrade, service registration and configuration center Nacos

Spring cloud Alibaba Chapter 12, upgrade, service registration and configuration center Nacos 1, Why spring cloud Alibaba 1. Why With the micro service framework of spring cloud, why do you want to use the framework of spring cloud alibaba? The most important reason is spring Almost all components in the cloud use Netflix products, and ...

Posted by Liz_SA on Mon, 27 Apr 2020 20:09:31 -0700

A summary of three methods of grey level publishing implemented by Nginx

A summary of three methods of grey level publishing implemented by Nginx The main principle of gray-scale publishing is access routing control, and the key point is to ensure that each access is the same node. Mode 1: adjust the load balance weight Load balancing is based on the existing network structure, which provides a ...

Posted by lalabored on Sun, 26 Apr 2020 10:52:42 -0700