Using nginx to reverse proxy multiple Tomcats under an ip
Links to the original text: https://my.oschina.net/u/2529405/blog/663615
Question: After using Aliyun host and domain name, it can only resolve to 80 ports of IP by default. It is not ...
Posted by frost on Thu, 03 Oct 2019 21:17:47 -0700
A minor problem with superset nginx reverse proxy configuration
When using nginx to configure superset reverse proxy and map to distribute through cookie s, we encounter very strange problems. When visiting the home page, we are always redirected to the domain name of upstream with the same name.
upstream release {
server 127.0.0.1:8088 weight=1 max_fail ...
Posted by Zoofu on Thu, 03 Oct 2019 20:20:33 -0700
Overview of ansible jinja2 template
Catalog
Overview of ansible jinja2 template
ansible jinja2 template usage
Basic grammar
jinja2 Template Logic Judgment
ansible jinja2 manages nginx
ansible jinja2 management keepalived
Keeping alived original match
Push the keepalived configuration file
Prepare the k ...
Posted by defunct on Thu, 03 Oct 2019 09:31:31 -0700
Nginx Multilayer Agent Gets Real Client IP
Generally, applications use Nginx as a reverse proxy, and Nginx may be multi-tiered. If you want to get the original client IP address in the internal service. You need to do some configuration.
Outermost Nginx
To prevent forgery of the X-Forwarded-For header, the X-Forwarded-For can be set to the real IP$remote_addr in the outermost Nginx.
The ...
Posted by sonofyoda on Thu, 03 Oct 2019 03:47:31 -0700
ansible+shell script to build wordpress Forum
Anibler + shell script builds wordpress Forum
ansible, as an automated operation and maintenance tool, has many functional modules, which can be better deployed with shell scripts.
Environmental Science:
192
192.168.0.11 #ansible
ansible configuration
[root@localhost ansible]# egrep "^[^#]" /etc/ansible/hosts
[lnmp]
192.168.0.9
php configur ...
Posted by andrewpike2000 on Tue, 01 Oct 2019 23:37:56 -0700
centos server on-line second django project method.
Aliyun Server Open Port 8001,9001
Create a virtual environment
virtualenv -p python3 web2
Make Virtual Environment Effective
source web2/bin/activate
Installing django and uwsgi in virtual environment
pip install django
pip install uwsgi
Create a django project
django-admin.py startproject myweb2
Modify the settins.py ...
Posted by justin.nethers on Tue, 01 Oct 2019 23:34:19 -0700
Description of main functions of Nginx
I. Providing Web Services
Nginx itself is a server of static resources, and other dynamic resources are handed over to other programs by matching.
server {
listen 80 default_server;
listen [::]:80 default_server;
# SSL configuration
#
# listen 443 ssl default_server;
# listen [::]:443 ssl default_server;
#
# Note: You should disable gz ...
Posted by binarylime on Mon, 30 Sep 2019 01:35:25 -0700
Linux Centos7 Deployment Environment Installation-CentOS
Linux Centos7 Deployment Environment Installation-CentOS
Centos7 Deployment Environment Installation and Common Linux Commands
The role of folders in centos system
centos7 Modify System Default Language
centos7 install rz/sz command
centos7 install netstat
centos7 install lsof command
centos7 Download and install jdk and configure environment ...
Posted by Steve Mellor on Wed, 25 Sep 2019 12:01:28 -0700
vue-cli3 project from scratch to docker deployment
1. Create a vue project
1.1 Install @vue/cli
# Global installation of vue-cli scaffolding
npm install -g @vue/cli
Copy code
Wait until the installation is complete to start the next step
1.2 Initialization Project
vue create vue-cli3-project
Choose a Presupposition
You can choose the default default, which includes babel,eslint
We ch ...
Posted by shadysaiyan on Wed, 25 Sep 2019 03:55:05 -0700
Collocation with LNMP environment
Catalog
Connect xshell
Precondition preparation
Install nginx
Install mysql
Install php
System: This is a tutorial for installation in the mirror environment of VMware virtual host CentOS7.
Connect xshell
Note: Because I am used to executing commands in xshell, I usually create SSH account to co ...
Posted by zeroecko on Wed, 25 Sep 2019 00:37:28 -0700