nginx use underscores_in_headers
nginx默认不支持带下划线的header,需要打开: underscores_in_headers… 继续阅读 nginx use underscores_in_headers
nginx默认不支持带下划线的header,需要打开: underscores_in_headers… 继续阅读 nginx use underscores_in_headers
#根据协议类型来强跳https if ( $http_x_forwarded_proto = &qu… 继续阅读 nginx get http_x_forwarded_proto to return
nginx.conf指定user proxy_temp 确认有权限
#nginx日志文件中找出top50的访问ip /usr/local/nginx/logs grep… 继续阅读 get top 50 ip from nginx access log
location /whoami { default_type text/plain; return… 继续阅读 nginx get remote_addr
#!/bin/bash #字体颜色 blue(){ echo -e "\033[34m\0… 继续阅读 trojan_install.sh
nginx 查看访问最频的页面(TOP100) grep -v ".php" a… 继续阅读 nginx get top 100 page from access log
server_names_hash_bucket_size 64;
#路径也变化,则需要设置cookie的路径转换 location /proxy_path { pro… 继续阅读 nginx proxy path
nginx -T
setcap cap_net_bind_service=+eip ./nginx su user1 … 继续阅读 普通用户启动nginx 使用80端口
usage: proxy_next_upstream error timeout http_500 … 继续阅读 nginx重试容错 proxy_next_upstream
容器有且仅有一个前台能持续运行的进程 nginx 默认是后台守护进程的形式运行, nginx -g … 继续阅读 nginx -g daemon off
ConfigMap nginx-config kind: ConfigMap apiVersion:… 继续阅读 kubernetes run wordpress
log off: location = /favicon.ico { log_not_found o… 继续阅读 nginx ignore favicon.ico
docker run -d –name php-fpm \ -p 9000:9000 \ -v /… 继续阅读 docker run php:7.4-fpm
proxy_ignore_client_abort on;
docker run -itd -p 1935:1935 -p 8080:80 –name ngi… 继续阅读 docker run nginx-rtmp
location /img/ { alias /var/www/image/; } 若按照上述配置的… 继续阅读 nginx root alias
#location配置段 proxy_set_header Host $http_host; pro… 继续阅读 nginx反向代理获取真正的访问来源ip