8de1d478 by DevOps

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

1 parent 6850d374
......@@ -24,11 +24,13 @@
- name: Content-Security-Policy # Required
value: 'upgrade-insecure-requests' # Required
always: true # Boolean
upstreams:
- name: jbosseap_test
least_conn: true
servers:
- address: tlbi01.vue.gov.py:80
ssl:
certificate: /etc/letsencrypt/live/vueapp.test.vue.gov.py/fullchain.pem
certificate_key: /etc/letsencrypt/live/vueapp.test.vue.gov.py/privkey.pem
......@@ -39,7 +41,9 @@
size: 10m
session_timeout: 10m
ssl_ciphers: PROFILE=SYSTEM
servers:
#vueapp
- log:
access:
- path: /var/log/nginx/access.log
......@@ -92,6 +96,52 @@
types:
- text/css
- application/javascript
#datos
- core:
listen:
- port: 80
server_name: datos.test.vue.gov.py
log:
access:
- path: /var/log/nginx/access.log
format: main
#Configure this to redirect to HTTPS, as of 26-oct-22, it should only be available for test
rewrite:
return:
code: 301
url: https://$host$request_uri
- core:
client_max_body_size: 50m #Pueden subir max 7 archivos de 5mb c/u, verificar también en los JBoss EAP
client_body_buffer_size: 128k
listen:
- port: 443
http2: true
ssl: true
server_name: datos.test.vue.gov.py
log:
access:
- path: /var/log/nginx/access.log
format: main
locations:
- location: /
proxy:
pass: http://jbosseap_test/
set_header:
#Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
- field: Host
value: datos.vue.gov.py
- field: X-Forwarded-For
value: $proxy_add_x_forwarded_for
- field: X-Real-IP
value: $remote_addr
- field: X-Forwarded-Proto
value: $scheme
#This next three values were increased for an app
read_timeout: 1200s
connect_timeout: 1200s
send_timeout: 1200s
# custom_directives:
# - core:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!