Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Gustavo Calcaterra
/
vue_nginx
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
343929fe
authored
2023-02-02 17:33:35 -0300
by
DevOps
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add servers (80 and 443) for exportafacil.test.vue.gov.py
1 parent
8de1d478
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
3 deletions
vue-deploy-nginx-proxy.yml
vue-deploy-nginx-proxy.yml
View file @
343929f
...
...
@@ -26,11 +26,16 @@
always
:
true
# Boolean
upstreams
:
-
name
:
jbosseap
_test
-
name
:
jbosseap
least_conn
:
true
servers
:
-
address
:
tlbi01.vue.gov.py:80
-
name
:
exportafacil
least_conn
:
true
servers
:
-
address
:
texportafacil01.vue.gov.py
ssl
:
certificate
:
/etc/letsencrypt/live/vueapp.test.vue.gov.py/fullchain.pem
certificate_key
:
/etc/letsencrypt/live/vueapp.test.vue.gov.py/privkey.pem
...
...
@@ -72,7 +77,7 @@
locations
:
-
location
:
/
proxy
:
pass
:
http://jbosseap
_test
/
pass
:
http://jbosseap/
set_header
:
#Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
-
field
:
Host
...
...
@@ -126,7 +131,7 @@
locations
:
-
location
:
/
proxy
:
pass
:
http://jbosseap
_test
/
pass
:
http://jbosseap/
set_header
:
#Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
-
field
:
Host
...
...
@@ -142,6 +147,70 @@
connect_timeout
:
1200s
send_timeout
:
1200s
#exportafacil
-
core
:
listen
:
-
port
:
80
server_name
:
exportafacil.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
:
exportafacil.test.vue.gov.py
log
:
access
:
-
path
:
/var/log/nginx/access.log
format
:
main
locations
:
-
location
:
/
proxy
:
pass
:
http://exportafacil/
set_header
:
#Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
-
field
:
Host
value
:
$host
-
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
-
location
:
/backend-exporta-facil/
proxy
:
pass
:
http://jbosseap/backend-exporta-facil/
set_header
:
#Equivalent to ProxyPreserveHost on from Apache HTTPd Server. It is necessary to work with RH SSO correctly
-
field
:
Host
value
:
$host
-
field
:
X-Forwarded-For
value
:
$proxy_add_x_forwarded_for
-
field
:
X-Real-IP
value
:
$remote_addr
-
field
:
X-Forwarded-Proto
value
:
$scheme
# custom_directives:
# - core:
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment