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
f9557dbd
authored
2023-01-26 18:22:09 -0300
by
DevOps
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add necessary proxy headers with proxy_set_header
1 parent
325c3535
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
vue-deploy-nginx-proxy.yml
vue-deploy-nginx-proxy.yml
View file @
f9557db
...
...
@@ -48,13 +48,6 @@
listen
:
-
port
:
80
server_name
:
vueapp.test.vue.gov.py
locations
:
-
location
:
/
proxy
:
pass
:
http://jbosseap_test/
set_header
:
field
:
Host
value
:
$host
#Configure this to redirect to HTTPS, as of 26-oct-22, it should only be available for test
rewrite
:
return
:
...
...
@@ -77,13 +70,18 @@
proxy
:
pass
:
http://jbosseap_test/
set_header
:
field
:
Host
#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
:
$remote_addr
-
field
:
X-Forwarded-Proto
value
:
$scheme
sub_filter
:
sub_filters
:
#This is necessary for vue_firmador_api.war, to allow local connections to websocket in 127.0.0.1 with only http
-
string
:
localhost
replacement
:
127.0.0.1
-
string
:
'
localhost'
replacement
:
'
127.0.0.1'
once
:
false
types
:
-
text/css
...
...
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