343929fe by DevOps

Add servers (80 and 443) for exportafacil.test.vue.gov.py

1 parent 8de1d478
...@@ -26,11 +26,16 @@ ...@@ -26,11 +26,16 @@
26 always: true # Boolean 26 always: true # Boolean
27 27
28 upstreams: 28 upstreams:
29 - name: jbosseap_test 29 - name: jbosseap
30 least_conn: true 30 least_conn: true
31 servers: 31 servers:
32 - address: tlbi01.vue.gov.py:80 32 - address: tlbi01.vue.gov.py:80
33 33
34 - name: exportafacil
35 least_conn: true
36 servers:
37 - address: texportafacil01.vue.gov.py
38
34 ssl: 39 ssl:
35 certificate: /etc/letsencrypt/live/vueapp.test.vue.gov.py/fullchain.pem 40 certificate: /etc/letsencrypt/live/vueapp.test.vue.gov.py/fullchain.pem
36 certificate_key: /etc/letsencrypt/live/vueapp.test.vue.gov.py/privkey.pem 41 certificate_key: /etc/letsencrypt/live/vueapp.test.vue.gov.py/privkey.pem
...@@ -72,7 +77,7 @@ ...@@ -72,7 +77,7 @@
72 locations: 77 locations:
73 - location: / 78 - location: /
74 proxy: 79 proxy:
75 pass: http://jbosseap_test/ 80 pass: http://jbosseap/
76 set_header: 81 set_header:
77 #Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly 82 #Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
78 - field: Host 83 - field: Host
...@@ -126,7 +131,7 @@ ...@@ -126,7 +131,7 @@
126 locations: 131 locations:
127 - location: / 132 - location: /
128 proxy: 133 proxy:
129 pass: http://jbosseap_test/ 134 pass: http://jbosseap/
130 set_header: 135 set_header:
131 #Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly 136 #Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
132 - field: Host 137 - field: Host
...@@ -142,6 +147,70 @@ ...@@ -142,6 +147,70 @@
142 connect_timeout: 1200s 147 connect_timeout: 1200s
143 send_timeout: 1200s 148 send_timeout: 1200s
144 149
150 #exportafacil
151 - core:
152 listen:
153 - port: 80
154 server_name: exportafacil.test.vue.gov.py
155
156 log:
157 access:
158 - path: /var/log/nginx/access.log
159 format: main
160
161 #Configure this to redirect to HTTPS, as of 26-oct-22, it should only be available for test
162 rewrite:
163 return:
164 code: 301
165 url: https://$host$request_uri
166
167 - core:
168 client_max_body_size: 50m #Pueden subir max 7 archivos de 5mb c/u, verificar también en los JBoss EAP
169 client_body_buffer_size: 128k
170 listen:
171 - port: 443
172 http2: true
173 ssl: true
174 server_name: exportafacil.test.vue.gov.py
175
176 log:
177 access:
178 - path: /var/log/nginx/access.log
179 format: main
180
181 locations:
182 - location: /
183 proxy:
184 pass: http://exportafacil/
185 set_header:
186 #Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
187 - field: Host
188 value: $host
189 - field: X-Forwarded-For
190 value: $proxy_add_x_forwarded_for
191 - field: X-Real-IP
192 value: $remote_addr
193 - field: X-Forwarded-Proto
194 value: $scheme
195 #This next three values were increased for an app
196 read_timeout: 1200s
197 connect_timeout: 1200s
198 send_timeout: 1200s
199
200 - location: /backend-exporta-facil/
201 proxy:
202 pass: http://jbosseap/backend-exporta-facil/
203 set_header:
204 #Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
205 - field: Host
206 value: $host
207 - field: X-Forwarded-For
208 value: $proxy_add_x_forwarded_for
209 - field: X-Real-IP
210 value: $remote_addr
211 - field: X-Forwarded-Proto
212 value: $scheme
213
145 # custom_directives: 214 # custom_directives:
146 215
147 # - core: 216 # - core:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!