Getting started with URLOS - making LNP Website Environment

1. Create LNP image1.1. Log in to your host machine with ssh, create the Dockerfile file, and fill in the following contents FROM php:7.3.3-fpm-alpine3.9 ENV TIME_ZONE Asiz/Shanghai RUN sed -i 's@dl-cdn.alpinelinux.org@mirrors.aliyun.com@' /etc/apk/repositories \ && apk add autoconf g++ make nginx \ && apk add libxml2-dev icu ...

Posted on Sat, 19 Oct 2019 07:13:33 -0700 by Sven70

Environment Installation Script

LNP environment Nginx + PHP + Composer + Supervisor Applicable to Laravel environment Contains: Nginx, PHP 7.2, Composer, Supervisor PHP module: fileinfo, imap, ldap, redis, memcached, swoole install # Install Nginx + PHP and copy all four lines together wget -c http://mirrors.linuxeye.com/oneinstack-full.tar.gz \ && tar xzf oneinst ...

Posted on Mon, 07 Oct 2019 03:14:36 -0700 by Phoenixheart

Note: Nginx proxy axios requests and precautions

Recently, we wrote a small demo. Because of the cross-domain limitation of the interface when we use the online data of a large factory, we use Nginx agent to solve these problems. 1. nginx.conf configuration information Because of the large amount of configuration information of nginx.conf, this article only focuses on following axios and stat ...

Posted on Sat, 05 Oct 2019 20:19:13 -0700 by smileyriley21

Nginx configuration record

Nginx configuration record Anti-theft chain location ~* \.(gif|jpg|png)$ { # Only 192.168.0.1 requests for resources are allowed valid_referers none blocked 192.168.0.1; if ($invalid_referer) { rewrite ^/ http://$host/logo.png; } } Set expiration time based on file type location ~.*\.css$ { expires 1d; break; } lo ...

Posted on Wed, 02 Oct 2019 06:10:47 -0700 by therealairness

Slow DOS Attack Vulnerability

Vulnerability description: When using HTTP POST: POST, specify a very large content-length, and then send the package at a very low speed, such as 10-100s to send a byte, hold the connection open. In this way, when the client has more connections, it occupies all available connections of the web serve ...

Posted on Mon, 30 Sep 2019 02:36:11 -0700 by eflopez

Nuxt project from start to deployment

In the early stage, I took a private project and made an official website. I thought that all companies use vue technology stack, and the official website just can be used. nuxt Do it. start install nuxt installation can follow the steps of the official website // Default installation create-nuxt-app yarn create nuxt-app <project-name> cd ...

Posted on Fri, 20 Sep 2019 22:23:43 -0700 by hchsk

tornado Simple project

tornado Simple project Link: https://blog.csdn.net/xc_zhou/article/details/80637714 Concepts such as asynchronous blocking: https://www.cnblogs.com/zhangyafei/p/9606765.html Tornado is both a web server and a web framework.As a web server, it uses asynchronous IO network model, which is a very efficie ...

Posted on Wed, 18 Sep 2019 19:12:12 -0700 by vegnadragon

ASP.NET Core Basic 1-1 WebHost and Project Configuration

.NET Core ASP.NET Core Basic 1-1 This section covers WebHost and project configuration Project Profile We can clearly find that our file contains a Json file - appsettings.json. In fact, this file is the default configuration file of our project. It contains some default settings, of course, you can add or modify it yourself. Let's not start ...

Posted on Tue, 27 Aug 2019 08:42:08 -0700 by recklessgeneral

Source Code Analysis of Spring Boot and Spring MVC Integrated Startup Process

Recommendation of Open Source Projects Pepper Metrics It's an open source tool developed by me and my colleagues( https://github.com/zrbcool/pepper-metrics) By collecting the running performance statistics of jedis/mybatis/httpservlet/dubbo/motan, and exposing them to prometheus and other mainstream time series database compatible data, it show ...

Posted on Mon, 26 Aug 2019 20:34:06 -0700 by Rayne

Nginx distinguishes unused virtual hosts by port number

Step 1: cd /usr/local/nginx Step 2: Find the conf file and enter input ll [root@Nigux nginx]# ll //Total usage 4 drwxr-xr-x. 2 root root 4096 7 28/01:39 conf drwxr-xr-x. 2 root root 40 7 28/01:39 html drwxr-xr-x. 2 root root 19 7 28/01:39 sbin [root@Nigux nginx]# cd conf [root@Nigux conf]# ll //Total usage 60 -rw-r--r--. 1 ...

Posted on Tue, 06 Aug 2019 09:30:10 -0700 by osti