|
@@ -92,7 +92,7 @@
|
|
|
|
|
|
* 堡垒机域名解析
|
|
|
|
|
|
- ```properties
|
|
|
+ ```nginx
|
|
|
server {
|
|
|
listen 80;
|
|
|
server_name wy.huiguanjia.cn;
|
|
@@ -112,8 +112,7 @@
|
|
|
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
|
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
|
ssl_prefer_server_ciphers on;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
location / {
|
|
|
proxy_pass http://172.16.0.246:3000/;
|
|
|
|
|
@@ -140,15 +139,14 @@
|
|
|
|
|
|
* 转发请求到应用服务器的前端服务
|
|
|
|
|
|
- ```properties
|
|
|
+ ```nginx
|
|
|
server {
|
|
|
listen 3000;
|
|
|
server_name 127.0.0.1;
|
|
|
|
|
|
root html;
|
|
|
index index.html index.htm index.php;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
location / {
|
|
|
root /data/bin/hgj2/web_publish/admin/public/;
|
|
|
index index.html;
|