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
8de1d478
authored
2023-02-02 16:36:26 -0300
by
DevOps
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add servers (80 and 443) for datos.test.vue.gov.py
1 parent
6850d374
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
vue-deploy-nginx-proxy.yml
vue-deploy-nginx-proxy.yml
View file @
8de1d47
...
...
@@ -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:
...
...
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