摘要:
什么是 DMARC 记录? DMARC 记录是一条发布在域名上面的,在 DNS 中的 TXT 记录,位于 _dmarc.yourdomain.com,在这里 “yourdomain.com” 是实际的域名或者子域名。它告诉接收邮件的服务器当邮件在 DMARC 验证中失败时,应该如何处理,并且应该把邮 阅读全文
摘要:
version: '3'services: nginx: image: nginx:latest container_name: nginx1 restart: always ports: - "80:80" - "7080:7080" - "1180:1180" volumes: - /usr/l 阅读全文
摘要:
curl ip.me curl cip.cc 阅读全文
摘要:
vi /etc/init.d/rabbitmq #!/bin/bash## chkconfig: 2345 80 05# description: rabbitmq # processname: rabbitmq #RabbitMQ安装目录RABBITMQ_HOME=/usr/local/rabbi 阅读全文
摘要:
cd /usr/lib/systemd/system/vi nacos.service [Unit]Description=nacosAfter=network.target [Service]Type=forkingExecStart=/usr/local/nacos/bin/startup.sh 阅读全文
摘要:
firewalld 放开 关闭端口:systemctl start firewalldsystemctl enable firewalld firewall-cmd --permanent --add-port=8080/tcpfirewall-cmd --reloadfirewall-cmd -- 阅读全文
摘要:
nginx 替换路径、域名 带传参跳转: server { ........ location /h5/netShop/ { if ($host = "app.abcd.com") { rewrite ^/h5/netShop/(.*)$ https://uatapp.abcd.com/h5/sha 阅读全文
摘要:
编辑 /etc/sysconfig/iptables-config :IPTABLES_MODULES="ip_conntrack_ftp"IPTABLES_MODULES="ip_nat_ftp"把需要加载的模块加入,无论重启系统还是 iptables 但 ftp 模块始终还是加载的。就这样搞定, 阅读全文
摘要:
Could not fetch URL https://pypi.douban.com/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.douban.com 阅读全文
摘要:
nginx静态资源转发,去掉前缀要在Nginx中配置静态资源转发并去掉前缀,可以使用location指令和rewrite规则。以下是一个示例配置,它将所有/static/开头的请求转发到相应的静态资源目录,并去掉/static/前缀。 server { listen 80; server_name 阅读全文