k8s nginx.conf配置文件配置

news2024/11/24 5:41:17

  • 无状态nginx配置
  • nginx.conf覆盖容器配置
    nginx.conf 代码:
    
    events {
        worker_connections  1024;
    }
    
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log;
        error_log  /var/log/nginx/error.log;
    
        sendfile        on;
        #tcp_nopush     on;
    
        keepalive_timeout  65;
    
        #gzip  on;
    
        include /etc/nginx/conf.d/*.conf;
    
    	# C++网关
    	server
    	{
    		listen 30001;
    		add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
                    add_header X-XSS-Protection "1; mode=block";
                    add_header X-Frame-Options "SAMEORIGIN always";
                    add_header X-Content-Type-Options "nosniff";
    		# 转发websocket需要的设置
    		proxy_set_header X-Real_IP $remote_addr;
    		proxy_set_header Host $host;
    		proxy_set_header X_Forward_For $proxy_add_x_forwarded_for;
    		proxy_http_version 1.1;
    		proxy_set_header Upgrade $http_upgrade;
    		proxy_set_header Connection 'upgrade';
    		location / {
                           proxy_set_header Connection 'keep-alive';
                           proxy_read_timeout 6000;
    		       proxy_pass http://gatewayserver.rz-dt:30001/;
    		}
    		location /weixin/ {
    			proxy_pass http://ossaccessserver.rz-dt:30002/weixin/;
    		}
    		location /upload/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/upload/;
    		}
    		location /events/ {
    			proxy_pass http://sseserver.rz-dt:30001/events/;
    		}
    		location /getEsignSignUrl/ {
    			proxy_pass http://fileserver.rz-dt:30001/getEsignSignUrl/;
    		}
    		location /public/ {
    			proxy_pass http://sseserver.rz-dt:30001/public/;
    		}
    		location /clean_download/ {
    			proxy_pass http://fileserver.rz-dt:30001/clean_download/;
    		}
    		location /clean_download_data/ {
    			proxy_pass http://fileserver.rz-dt:30001/clean_download_data/;
    		}
    		location /getOssSignUrl/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/getOssSignUrl/;
    		}
    		location /getStsToken/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/getStsToken/;
    		}
    		location /getPreviewUrl/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/getPreviewUrl/;
    		}
    		location /change_image_background_color/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/change_image_background_color/;
    		}
    		location /docx2pdf/ {
    			client_max_body_size 50M;
    			client_body_buffer_size 50M;
    			proxy_pass http://fileserver.rz-dt:30001/docx2pdf/;
    		}
    		location /getPdfPageNum/ {
    			proxy_pass http://fileserver.rz-dt:30001/getPdfPageNum/;
    		}
    		location /upload_esign/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://electronicpythonserver.rz-dt:30001/upload_esign;
    		}
    		location /elec_python/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://electronicpythonserver.rz-dt:30001/;
    		}
    		location /download/ {
    			proxy_pass http://fileserver.rz-dt:30001/download/;
    		}
    		location /fdd_notify/ {
    			proxy_pass http://electroniccbpythonserver.rz-dt:30001/;
    		}
    		# location /hdwd_download/ {
    		# 	client_max_body_size 1024M;
    		# 	client_body_buffer_size 1024M;
    		# 	proxy_pass http://investorrelationpythonserver.rz-dt:30001/download_interqa;
    		# }
    
    		# # 通讯录
            # location /address_book/ {
            #     client_max_body_size 1024M;
            #     client_body_buffer_size 1024M;
    		# 	proxy_pass http://addressbookpythonserver.rz-dt:30001/;
    		# }
    
    		location /get_doc_info/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://espythonserver.rz-dt:30001/get_doc_info;
    		}
    
    		location /get_id_list/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://espythonserver.rz-dt:30001/get_id_list;
    		}
    		access_log /var/log/nginx/way.realize.com.cn.log;
    	}
    	
    	# 智库web端v2
    	server
    	{
    		listen 30002;
    		add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
                    #add_header Content-Security-Policy "default-src 'self' http://zhiku.realize.com.cn; font-src 'self' data:; script-src unsafe-inline; script-src-elem unsafe-inline";
                    add_header X-XSS-Protection "1; mode=block";
                    add_header X-Frame-Options "SAMEORIGIN always";
                    add_header X-Content-Type-Options "nosniff";
    
    		# 转发websocket需要的设置
    		proxy_set_header X-Real_IP $remote_addr;
    		proxy_set_header Host $host;
    		proxy_set_header X_Forward_For $proxy_add_x_forwarded_for;
    		proxy_http_version 1.1;
    		proxy_set_header Upgrade $http_upgrade;
    		proxy_set_header Connection 'upgrade';
    		location / {
    			proxy_pass http://frontdongmi-official.rz-dt:30001/;
    		}
                    location /pdf_web/ {
    			proxy_pass http://pdfwebserver.rz-dt:30001/pdf_web/;
    		}
                    location /weixinproxy/ {
    			proxy_pass http://weixinproxyserver.rz-dt:30001/;
    		}
                    location /events/ {
    			proxy_pass http://sseserver.rz-dt:30001/events/;
    		}
                    location /public/ {
    			proxy_pass http://sseserver.rz-dt:30001/public/;
    		}
                    location /office_web/ {
                    proxy_set_header X-Real_IP $remote_addr;
    		proxy_set_header Host view.officeapps.live.com;
    		proxy_set_header X_Forward_For $proxy_add_x_forwarded_for;
    		proxy_http_version 1.1;
    		proxy_set_header Upgrade $http_upgrade;
    		proxy_set_header Connection 'upgrade';
    		proxy_pass https://view.officeapps.live.com/;
    		}
                    location /weapp_esg/ {
    			proxy_pass http://pdfwebserver.rz-dt:30001/weapp_esg/;
    		}
                    location /zhiku/ {
    			proxy_pass http://frontdongmi.rz-dt:30001/zhiku/;
                           #proxy_pass http://frontdongmi-mv-diag.rz-dt:30001/diag/;
    		}
                    location /im/ {
    			proxy_pass http://frontdongmi-zhixin.rz-dt:30001/im/;
    		}
                    location /managePlatForm/ {
    			proxy_pass http://frontdongmi-manager.rz-dt:30001/managePlatForm/;
    		}
                    location /cockpit/ {
    			proxy_pass http://frontdongmi-cockpit.rz-dt:30001/cockpit/;
    		}
                    location /video/ {
    			proxy_pass http://frontdongmi-video.rz-dt:30001/video/;
    		}
                    location /page/ {
    			proxy_pass http://frontdongmi-page.rz-dt:30001/page/;
    		}
                    location /visualization/ {
    			proxy_pass http://frontdongmi-visualization.rz-dt:30001/visualization/;
    		}
                    location /h5/ {
    			proxy_pass http://frontdongmi-h5.rz-dt:30001/h5/;
    		}
                    location /diag/ {
    			proxy_pass http://frontdongmi-mv-diag.rz-dt:30001/diag/;
    		} 
                    location /h5_weApp/ {
    			proxy_pass http://frontdongmi-h5-weapp.rz-dt:30001/h5_weApp/;
    		}
                    location /eSign/ {
    			proxy_pass http://frontdongmi-esign.rz-dt:30001/eSign/;
                    }
                    location /esign-h5/ {
    			proxy_pass http://frontdongmi-esign-h5.rz-dt:30001/esign-h5/;
    		}
                    location /m/ {
    			proxy_pass http://frontdongmi-h5.rz-dt:30001/m/;
    		}
                    location /marketData/ {
                            proxy_pass http://frontdongmi-marketdata.rz-dt:30001/marketData/;
                    }
                    location /weixin/ {
    			proxy_pass http://ossaccessserver.rz-dt:30002/weixin/;
                    }
                    location /.well-known/ {
    			proxy_pass http://ossaccessserver.rz-dt:30002/.well-known/;
                    }
                    location /getStsToken/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/getStsToken/;
                    }
                    location /rzgateway/ {
                            client_max_body_size 1024M;
                            client_body_buffer_size 1024M;
    			#proxy_pass http://47.101.207.23:8082/;
                            proxy_pass http://application-gateway.rz-dt:8080/;
    		}
                    location /rzwebgateway/ {
    add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
    			add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
    
    			if ($request_method = 'OPTIONS') {
    				return 200;
    			}
                            client_max_body_size 1024M;
                            client_body_buffer_size 1024M;
                            proxy_pass http://realize-gateway.rz-dt:9300/;
    		}
                    location /gateway/ {
                           proxy_set_header Connection 'keep-alive';
    			proxy_pass http://gatewayserver.rz-dt:30001/;
    		}
    		location /upload/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/upload/;
    		}
                    location /getPreviewUrl/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/getPreviewUrl/;
    		}
    		location /upload_esign/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://electronicpythonserver.rz-dt:30001/upload_esign;
    		}
    		location /download/ {
    			proxy_pass http://fileserver.rz-dt:30001/download/;
    		}
    		location /fdd_notify/ {
    			proxy_pass http://electroniccbpythonserver.rz-dt:30001/;
    		}
    
                    location /qiyu_notify/ {
    	            proxy_pass http://electroniccbpythonserver.rz-dt:30001/;
                    }
    		access_log /var/log/nginx/zhiku.realize.com.cn.log;
    	}
    
            # 智库web端v1
    	server
    	{
    		listen 30006;
    		add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
                    #add_header Content-Security-Policy "default-src 'self' http://zhiku.realize.com.cn; font-src 'self' data:; script-src unsafe-inline; script-src-elem unsafe-inline";
                    add_header X-XSS-Protection "1; mode=block";
                    add_header X-Frame-Options "SAMEORIGIN always";
                    add_header X-Content-Type-Options "nosniff";
    
    		# 转发websocket需要的设置
    		proxy_set_header X-Real_IP $remote_addr;
    		proxy_set_header Host $host;
    		proxy_set_header X_Forward_For $proxy_add_x_forwarded_for;
    		proxy_http_version 1.1;
    		proxy_set_header Upgrade $http_upgrade;
    		proxy_set_header Connection 'upgrade';
    		location / {
    			proxy_pass http://frontdongmi-official-v1.rz-dt:30001/;
    		}
                    location /pdf_web/ {
    			proxy_pass http://pdfwebserver.rz-dt:30001/pdf_web/;
    		}
                    location /weapp_esg/ {
    			proxy_pass http://pdfwebserver.rz-dt:30001/weapp_esg/;
    		}
                    location /zhiku/ {
    			proxy_pass http://frontdongmi-v1.rz-dt:30001/zhiku/;
    		}
                    location /managePlatForm/ {
    			proxy_pass http://frontdongmi-manager.rz-dt:30001/managePlatForm/;
    		}
                    location /video/ {
    			proxy_pass http://frontdongmi-video.rz-dt:30001/video/;
    		}
                    location /page/ {
    			proxy_pass http://frontdongmi-page.rz-dt:30001/page/;
    		}
                    location /visualization/ {
    			proxy_pass http://frontdongmi-visualization.rz-dt:30001/visualization/;
    		}
                    location /h5/ {
    			proxy_pass http://frontdongmi-h5.rz-dt:30001/h5/;
    		}
                    location /h5_weApp/ {
    			proxy_pass http://frontdongmi-h5-weapp.rz-dt:30001/h5_weApp/;
    		}
                    location /m/ {
    			proxy_pass http://frontdongmi-h5.rz-dt:30001/m/;
    		}
                    location /marketData/ {
                            proxy_pass http://frontdongmi-marketdata.rz-dt:30001/marketData/;
                    }
                    location /weixin/ {
    			proxy_pass http://ossaccessserver.rz-dt:30002/weixin/;
                    }
                    location /.well-known/ {
    			proxy_pass http://ossaccessserver.rz-dt:30002/.well-known/;
                    }
                    location /getStsToken/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/getStsToken/;
                    }
                    location /rzgateway/ {
                            client_max_body_size 1024M;
                            client_body_buffer_size 1024M;
    			#proxy_pass http://47.101.207.23:8082/;
                            #proxy_pass http://139.224.134.101:8082/;
                            proxy_pass http://application-gateway.rz-dt:8080/;
    		}
                    location /rzwebgateway/ {
    add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
    			add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
    
    			if ($request_method = 'OPTIONS') {
    				return 200;
    			}
                            client_max_body_size 1024M;
                            client_body_buffer_size 1024M;
                            proxy_pass http://realize-gateway.rz-dt:9300/;
    		}
                    location /gateway/ {
                           proxy_set_header Connection 'keep-alive';
    			proxy_pass http://gatewayserver.rz-dt:30001/;
    		}
    		location /upload/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/upload/;
    		}
                    location /getPreviewUrl/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://fileserver.rz-dt:30001/getPreviewUrl/;
    		}
    		location /upload_esign/ {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
    			proxy_pass http://electronicpythonserver.rz-dt:30001/upload_esign;
    		}
    		location /download/ {
    			proxy_pass http://fileserver.rz-dt:30001/download/;
    		}
    		location /fdd_notify/ {
    			proxy_pass http://electroniccbpythonserver.rz-dt:30001/;
    		}
    		access_log /var/log/nginx/zhiku-v1.realize.com.cn.log;
    	}
    	
    	# 荣正网关
    	server
    	{
    		listen 30003;
    		add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
    		# 转发websocket需要的设置
    		proxy_set_header X-Real_IP $remote_addr;
    		proxy_set_header Host $host;
    		proxy_set_header X_Forward_For $proxy_add_x_forwarded_for;
    		proxy_http_version 1.1;
    		proxy_set_header Upgrade $http_upgrade;
    		proxy_set_header Connection 'upgrade';
    		location / {
    			client_max_body_size 1024M;
    			client_body_buffer_size 1024M;
                            proxy_pass http://realize-auth.rz-dt:9301/;
    		}
    		access_log /var/log/nginx/rzgateway.realize.com.cn.log;
    	}
    
            # 采集平台
    server
    {
        listen 30004;
        add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
        # 转发websocket需要的设置
        proxy_set_header X-Real_IP $remote_addr;
        proxy_set_header Host $host;
        proxy_set_header X_Forward_For $proxy_add_x_forwarded_for;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        location / {
            proxy_pass http://spiderflow.rz-dt:30001/;
        }
        access_log /var/log/nginx/spider.realize.com.cn.log;
    }
    
        # 视频营销
    	server
    	{
    		listen 30005;
    		add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
    		# 转发websocket需要的设置
    		proxy_set_header X-Real_IP $remote_addr;
    		proxy_set_header Host idtcdn.oss-cn-hangzhou.aliyuncs.com;
    		proxy_set_header X_Forward_For $proxy_add_x_forwarded_for;
    		proxy_http_version 1.1;
    		proxy_set_header Upgrade $http_upgrade;
    		proxy_set_header Connection 'upgrade';
    		location / {
    			proxy_pass http://idtcdn.oss-cn-hangzhou.aliyuncs.com/;
    		}
    		access_log /var/log/nginx/video.realize.com.cn.log;
    	}
    
        # 文件服务
        server
        {
    	listen 30007;
    	add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
    	proxy_set_header X-Real_IP $remote_addr;
    	proxy_set_header Host $host;
    	proxy_set_header X_Forward_For $proxy_add_x_forwarded_for;
    	proxy_http_version 1.1;
    	proxy_set_header Upgrade $http_upgrade;
    	proxy_set_header Connection 'upgrade';
    	location / {
                client_max_body_size 50M;
                client_body_buffer_size 50M;
    	    proxy_pass http://fileserver.rz-dt:30001/;
    	}
    	access_log /var/log/nginx/file.realize.com.cn.log;
        }
    }

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1817621.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

服务器数据恢复—vxfs文件系统元数据被破坏的数据恢复案例

服务器存储数据恢复环境: 某品牌MSA2000服务器存储中有一组由8块SAS硬盘组建的raid5磁盘阵列,其中包含一块热备盘。分配了6个LUN,均分配给HP-Unix小机使用。磁盘分区由LVM进行管理,存放的数据主要为Oracle数据库及OA服务端。 服务…

iOS--oc对象,类,和元类本质

iOS--oc对象,类,和元类本质 前言实例对象的具体结构自定义类对象的结构继承关系 类信息的存放对isa、superclass总结 前言 最近在学习runtime的过程中,发现其中消息发送-动态方法解析-消息转发中涉及到了大量的类与对象的底层知识&#xff0…

【LeetCode滑动窗口算法】长度最小的子数组 难度:中等

我们先看一下题目描述&#xff1a; 解法一&#xff1a;暴力枚举 时间复杂度&#xff1a;o(n^3) class Solution { public:int minSubArrayLen(int target, vector<int>& nums){int i 0, j 0;vector<int> v;for (;i < nums.size();i){int sum nums[i];fo…

从ES的JVM配置起步思考JVM常见参数优化

目录 一、真实查看参数 &#xff08;一&#xff09;-XX:PrintCommandLineFlags &#xff08;二&#xff09;-XX:PrintFlagsFinal 二、堆空间的配置 &#xff08;一&#xff09;默认配置 &#xff08;二&#xff09;配置Elasticsearch堆内存时&#xff0c;将初始大小设置为…

.net8 blazor auto模式很爽(二)用.net8创建Blazor自动模式项目

在vs2022中创建新项目&#xff0c;在搜索框里输入blazor&#xff0c;选择blazor web app 在其他信息里框架选.net8&#xff0c;模式选择auto,点创建。 我们可以看到&#xff0c;vs自动创建了两个项目。一个叫BlazorApp1&#xff0c;另外一个叫BlazorApp1.Client。没有Client就…

链表题目之指定区间处理

前言 链表中有一些题目是需要知道并且记住对应的技巧的&#xff0c;有一些题目就是基本的链表技巧手动模拟推演注意细节等。 对于需要知道并且记住对应技巧的题目会有专门的一栏进行讲解&#xff0c;此类题目主要有&#xff1a;相交链表、环形链表、回文链表等&#xff0c;这些…

网络地图的发展历程

位置以及我们与位置的互动方式已在我们的生活中无处不在。我们的网络地图技术发展到今天这一步&#xff0c;涉及一系列个人、公司和想法&#xff0c;这些最终塑造了我们与世界的互动方式。这篇文章能帮助您了解我们是如何一步步走到今天的。即网络地图的发展历史! 制图学的简要…

笨蛋学算法之LeetCodeHot100_4_移动零(Java)

package com.lsy.leetcodehot100;public class _Hot4_移动零 {public static int[] moveZeroes(int[] nums){//判断数组是否为nullif(numsnull && nums.length0){return null;}/*** 初始化两个指针 i 和 noZero&#xff0c;其中 i 用于遍历数组&#xff0c;noZero 用于…

【讲解下Stylus入门方法】

&#x1f308;个人主页: 程序员不想敲代码啊 &#x1f3c6;CSDN优质创作者&#xff0c;CSDN实力新星&#xff0c;CSDN博客专家 &#x1f44d;点赞⭐评论⭐收藏 &#x1f91d;希望本文对您有所裨益&#xff0c;如有不足之处&#xff0c;欢迎在评论区提出指正&#xff0c;让我们共…

探索Facebook对世界各地文化的影响

随着数字化时代的到来&#xff0c;社交媒体已成为连接世界各地人们的重要平台之一。而在这个领域的巨头之一&#xff0c;Facebook不仅是人们沟通交流的场所&#xff0c;更是一座桥梁&#xff0c;将不同地域、文化的人们联系在一起。本文将探索Facebook对世界各地文化的影响&…

vue2.0和vue3.0获取当前文件夹下的所有vue文件区别

文章目录 vue2.0vue3.0当前文件夹下的所有vue文件区别 vue2.0 在Vue 2.0项目中&#xff0c;要获取当前文件夹下的所有.vue文件&#xff0c;你可以使用Node.js的文件系统模块&#xff08;fs&#xff09;和路径模块&#xff08;path&#xff09;来实现。以下是一个简单的示例&am…

IO流打印流

打印流 IO流打印流是Java中用来将数据打印到输出流的工具。打印流提供了方便的方法来格式化和输出数据&#xff0c;可以用于将数据输出到控制台、文件或网络连接。 分类:打印流一般是指:PrintStream&#xff0c;PrintWriter两个类 特点1:打印流只操作文件目的地&#xff0c;…

SwiftUI中自定义Shape与AnimateableData的使用

上一篇文章主要介绍了一下在SwiftUI中如何自定义Shape&#xff0c;本篇文章主要介绍Shape中的 一个关键的属性AnimatableData&#xff0c;它用于定义可以被动画化的数据。通过实现 Animatable 协议&#xff0c;可以让自定义视图或图形响应动画变化。 AnimatableData 是 Animata…

Github 2024-06-13 Go开源项目日报Top10

根据Github Trendings的统计,今日(2024-06-13统计)共有10个项目上榜。根据开发语言中项目的数量,汇总情况如下: 开发语言项目数量Go项目10TypeScript项目1Shell项目1多存储文件列表/WebDAV程序 创建周期:1265 天开发语言:Go协议类型:GNU Affero General Public License v…

【安装笔记-20240612-Linux-内网穿透服务之cpolar极点云】

安装笔记-系列文章目录 安装笔记-20240612-Linux-内网穿透服务之 cpolar 极点云 文章目录 安装笔记-系列文章目录安装笔记-20240612-Linux-内网穿透服务之 cpolar 极点云 前言一、软件介绍名称&#xff1a;cpolar极点云主页官方介绍 二、安装步骤测试版本&#xff1a;openwrt-…

.net8 blazor auto模式很爽(一)Blazor WebAssembly(WASM)与Server在.net8中的完美结合

我们在上一章中说到Blazor的WASM和Server模式各有优缺点。在.net8之前&#xff0c;这两种模式是独立的&#xff0c;你的项目只能选其中之一。但是.net8出现了一种叫自动模式&#xff0c;官方解释是&#xff1a;开发者在创建 Blazor 项目时不再显式区分是 Blazor Server 还是 Bl…

TIA博途Wincc与S7-1500 (V2.9) 或S7-1200 (V4.5) 及更高版本固件PLC通信失败的原因汇总

TIA博途Wincc与S7-1500 (V2.9) 或S7-1200 (V4.5) 及更高版本固件PLC通信失败的原因汇总 从TIA Portal V17开始,对于S7-1500PLC新增了V2.9的固件,S7-1200新增了V4.5的固件,PLC侧默认激活了“仅支持PG/PC和HMI的安全通信”, 注意事项1 如果PLC侧激活了“仅支持PG/PC和HMI的安…

java基础知识漏洞二

位移运算符 移位运算符是最基本的运算符之一&#xff0c;几乎每种编程语言都包含这一运算符。移位操作中&#xff0c;被操作的数据被视为二进制数&#xff0c;移位就是将其向左或向右移动若干位的运算。 移位运算符在各种框架以及 JDK 自身的源码中使用还是挺广泛的&#xff…

拼团+秒杀+优惠折扣+个人免签双端商城源码

源码说明 可用拼团秒杀优惠折扣个人免签双端商城源码&#xff0c;全功能完美双端&#xff0c;对接个人免签支付。 这款商城源码非常完整&#xff0c;整体也非常简洁&#xff0c;功能全面&#xff0c;没有那么多冗杂的多余页面和无用代码&#xff0c;拿到后优化了下整体代码&a…

学习grdecl文件格式之后的事情

学习了grdecl文件格式&#xff0c;搞地质的专业人士都知道&#xff0c;这是专门用在地质上的油藏软件&#xff08;个人感觉就是斯伦贝谢的Petrel的&#xff09;的一种文件格式&#xff0c;正好自己也在学习三维的开发&#xff0c;顺手写了一个简单的读取grdecl算法&#xff0c;…