@drumee/setup-infra 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -51,11 +51,12 @@ location <%= location %> {
|
|
|
51
51
|
proxy_http_version 1.1;
|
|
52
52
|
proxy_set_header Upgrade $http_upgrade;
|
|
53
53
|
proxy_set_header Connection 'upgrade';
|
|
54
|
+
proxy_set_header Host $host;
|
|
55
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
56
|
+
proxy_set_header X-Connecting-IP $remote_addr;
|
|
54
57
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
55
58
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
56
|
-
proxy_set_header X-
|
|
57
|
-
proxy_set_header X-Connecting-IP $remote_addr;
|
|
58
|
-
proxy_set_header Host $host;
|
|
59
|
+
proxy_set_header X-Forwarded-Port $server_port;
|
|
59
60
|
add_header Vary "Accept-Encoding";
|
|
60
61
|
fastcgi_hide_header Set-Cookie;
|
|
61
62
|
break;
|
|
@@ -66,11 +67,12 @@ location <%= location %> {
|
|
|
66
67
|
proxy_http_version 1.1;
|
|
67
68
|
proxy_set_header Upgrade $http_upgrade;
|
|
68
69
|
proxy_set_header Connection 'upgrade';
|
|
70
|
+
proxy_set_header Host $host;
|
|
71
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
72
|
+
proxy_set_header X-Connecting-IP $remote_addr;
|
|
69
73
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
70
74
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
71
|
-
proxy_set_header X-
|
|
72
|
-
proxy_set_header X-Connecting-IP $remote_addr;
|
|
73
|
-
proxy_set_header Host $host;
|
|
75
|
+
proxy_set_header X-Forwarded-Port $server_port;
|
|
74
76
|
add_header Vary "Accept-Encoding";
|
|
75
77
|
fastcgi_hide_header Set-Cookie;
|
|
76
78
|
break;
|
|
@@ -132,10 +134,12 @@ location <%= location %> {
|
|
|
132
134
|
proxy_http_version 1.1;
|
|
133
135
|
proxy_set_header Upgrade $http_upgrade;
|
|
134
136
|
proxy_set_header Connection 'upgrade';
|
|
135
|
-
proxy_set_header
|
|
136
|
-
proxy_set_header X-Real-IP
|
|
137
|
+
proxy_set_header Host $host;
|
|
138
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
137
139
|
proxy_set_header X-Connecting-IP $remote_addr;
|
|
138
|
-
proxy_set_header
|
|
140
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
141
|
+
proxy_set_header X-Forwarded-Proto $scheme;
|
|
142
|
+
proxy_set_header X-Forwarded-Port $server_port;
|
|
139
143
|
proxy_set_header Referer $http_referer;
|
|
140
144
|
add_header Access-Control-Allow-Credentials true;
|
|
141
145
|
add_header Vary "Accept-Encoding";
|
|
@@ -51,11 +51,13 @@ location <%= location %> {
|
|
|
51
51
|
proxy_http_version 1.1;
|
|
52
52
|
proxy_set_header Upgrade $http_upgrade;
|
|
53
53
|
proxy_set_header Connection 'upgrade';
|
|
54
|
+
proxy_set_header Host $host;
|
|
55
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
56
|
+
proxy_set_header X-Connecting-IP $remote_addr;
|
|
54
57
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
55
58
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
56
|
-
proxy_set_header X-
|
|
57
|
-
proxy_set_header
|
|
58
|
-
proxy_set_header Host $host;
|
|
59
|
+
proxy_set_header X-Forwarded-Port $server_port;
|
|
60
|
+
proxy_set_header Referer $http_referer;
|
|
59
61
|
add_header Vary "Accept-Encoding";
|
|
60
62
|
fastcgi_hide_header Set-Cookie;
|
|
61
63
|
break;
|
|
@@ -66,11 +68,13 @@ location <%= location %> {
|
|
|
66
68
|
proxy_http_version 1.1;
|
|
67
69
|
proxy_set_header Upgrade $http_upgrade;
|
|
68
70
|
proxy_set_header Connection 'upgrade';
|
|
71
|
+
proxy_set_header Host $host;
|
|
72
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
73
|
+
proxy_set_header X-Connecting-IP $remote_addr;
|
|
69
74
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
70
75
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
71
|
-
proxy_set_header X-
|
|
72
|
-
proxy_set_header
|
|
73
|
-
proxy_set_header Host $host;
|
|
76
|
+
proxy_set_header X-Forwarded-Port $server_port;
|
|
77
|
+
proxy_set_header Referer $http_referer;
|
|
74
78
|
add_header Vary "Accept-Encoding";
|
|
75
79
|
fastcgi_hide_header Set-Cookie;
|
|
76
80
|
break;
|
|
@@ -125,18 +129,19 @@ location <%= location %> {
|
|
|
125
129
|
break;
|
|
126
130
|
}
|
|
127
131
|
|
|
128
|
-
|
|
129
132
|
#------------ parts/index ------------
|
|
130
133
|
location ~ (/|)$ {
|
|
131
134
|
proxy_pass http://127.0.0.1:<%= pushPort %>;
|
|
132
135
|
proxy_http_version 1.1;
|
|
133
136
|
proxy_set_header Upgrade $http_upgrade;
|
|
134
137
|
proxy_set_header Connection 'upgrade';
|
|
135
|
-
proxy_set_header
|
|
136
|
-
proxy_set_header X-Real-IP
|
|
138
|
+
proxy_set_header Host $host;
|
|
139
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
137
140
|
proxy_set_header X-Connecting-IP $remote_addr;
|
|
138
|
-
proxy_set_header
|
|
139
|
-
proxy_set_header
|
|
141
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
142
|
+
proxy_set_header X-Forwarded-Proto $scheme;
|
|
143
|
+
proxy_set_header X-Forwarded-Port $server_port;
|
|
144
|
+
proxy_set_header Referer $http_referer;
|
|
140
145
|
add_header Access-Control-Allow-Credentials true;
|
|
141
146
|
add_header Vary "Accept-Encoding";
|
|
142
147
|
fastcgi_hide_header Set-Cookie;
|