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
443af33c
authored
2023-01-26 20:44:53 -0300
by
DevOps
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add necessary proxy headers with proxy_set_header, like X-Forwarded-For
1 parent
f9557dbd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
vue-deploy-nginx-proxy.yml
vue-deploy-nginx-proxy.yml
View file @
443af33
...
...
@@ -74,9 +74,11 @@
-
field
:
Host
value
:
$host
-
field
:
X-Forwarded-For
value
:
$
remote_add
r
value
:
$
proxy_add_x_forwarded_fo
r
-
field
:
X-Forwarded-Proto
value
:
$scheme
-
field
:
X-Real-IP
value
:
$remote_addr
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
...
...
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