/**
* Copyright (c) 2016-2019 ants All rights reserved.
*
*
* 版权所有,侵权必究!
*/
package io.ants.common.utils;
import com.alibaba.druid.util.StringUtils;
阅读全文 →
static ngx_uint_t get_exist_target_in_uri(ngx_http_request_t* r) {
ngx_log_error(NGX_LOG_DEBUG, r->connection->log, 0, "[%s %d]%Z", __FUNCTION__, __LINE__);
&
阅读全文 →
static ngx_uint_t get_exist_target_in_cookies(ngx_http_request_t* r, char* cookie_value) {
//ngx_log_error(NGX_LOG_DEBUG, r->connection->log, 0, "{%s}[%s %d]%Z"
阅读全文 →
static ngx_uint_t get_ip_addr_crc(ngx_connection_t* c, int algorithm) {
ngx_int_t ip_type = c->sockaddr->sa_family;// r->connection->sockaddr->sa_family;
&nb
阅读全文 →
static void free_resource(ngx_cycle_t* cycle) {
ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "[%s %d]%Z", __FUNCTION__, __LINE__);
//return;
/*
1 get ngx_http_core_main_
阅读全文 →
public static String okHttpPost(String url,String paramJsonString){
try{
OkHttpClient client = new OkHttpClient().newBuilder().buil
阅读全文 →
1 docker pull hasspi/srs4.02docker run -itd -p 1935:1935 -p 1985:1985 -p 8080:8080 -p 5060:5060/udp -p 9000:9000/udp hasspi/srs4.0 ./objs/srs -c conf/push.gb28181.conf3docker ps4 开放外网1935 1985 8080 50
阅读全文 →
http://www.91hu.top/upload/lalawaimai418/41.8admin_manager_server.rar 另一个所说更全的版本http://www.91hu.top/upload/lalawaimai418/lalawaimai41.8_doudou.rar
阅读全文 →
package io.ants.common.utils;
import org.apache.commons.lang.StringUtils;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
/**
*&n
阅读全文 →
1 proxy_cache_key $host$uri$is_args$args$slice_range;2#!/bin/sh
echo -e "\n"
echo -n -e "\e[35;1m请输入Nginx Proxy_cache缓存的具体路径(提示:可使用Tab补全!)\e[0m\e[34;5m:\e[0m"
read -e&nbs
阅读全文 →