mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
Добавил роут api/configuration/
This commit is contained in:
parent
a697efbbd4
commit
42d47bb550
1 changed files with 17 additions and 1 deletions
18
nginx.conf
18
nginx.conf
|
@ -22,6 +22,14 @@ http {
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /api/configuration {
|
||||
proxy_pass http://server_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;
|
||||
}
|
||||
|
||||
location /api/getChart {
|
||||
proxy_pass http://chart_backend;
|
||||
proxy_set_header Host $host;
|
||||
|
@ -33,7 +41,7 @@ http {
|
|||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name localhost;
|
||||
server_name localhost; # Your domain
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/fullchain.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
|
||||
|
@ -46,6 +54,14 @@ http {
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /api/configuration {
|
||||
proxy_pass http://server_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;
|
||||
}
|
||||
|
||||
location /api/getChart {
|
||||
proxy_pass http://chart_backend;
|
||||
proxy_set_header Host $host;
|
||||
|
|
Loading…
Add table
Reference in a new issue