Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Marina Kosolap
assistant_configs
Commits
d326cffd
Commit
d326cffd
authored
9 months ago
by
Marina Kosolap
Browse files
Options
Downloads
Patches
Plain Diff
Update nginx.conf
parent
cae5ac1b
Branches
Branches containing commit
2 merge requests
!16
Main
,
!15
Main
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nginx.conf
+16
-2
nginx.conf
with
16 additions
and
2 deletions
nginx.conf
+
16
−
2
View file @
d326cffd
events
{
worker_connections
1024
;
}
...
...
@@ -12,6 +11,10 @@ http {
server
assistant_grafana:3000
;
}
upstream
flask_backend
{
server
assistant_flask:5000
;
}
server
{
listen
80
;
server_name
grafana.sberlab.nsu.ru
;
...
...
@@ -40,5 +43,16 @@ http {
proxy_redirect
off
;
}
location
/webhook
{
proxy_pass
http://flask_backend
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
proxy_set_header
X-Forwarded-Proto
$scheme
;
proxy_redirect
off
;
}
}
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets