mirror of
https://github.com/hexastack/hexabot
synced 2024-11-25 21:37:59 +00:00
Merge pull request #333 from teemuteekkari/feat/nginx-widget-removal
removed widget dependency from nginx
This commit is contained in:
commit
028c754825
@ -14,4 +14,3 @@ services:
|
||||
depends_on:
|
||||
- api
|
||||
- hexabot-frontend
|
||||
- widget
|
||||
|
@ -47,16 +47,6 @@ server {
|
||||
proxy_pass_request_headers on;
|
||||
}
|
||||
|
||||
location /widget/ {
|
||||
rewrite ^/widget/?(.*)$ /$1 break;
|
||||
proxy_pass http://widget:5173;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Url-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location ~* \.io {
|
||||
rewrite ^/api/?(.*)$ /$1 break;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
@ -29,18 +29,6 @@ server {
|
||||
proxy_pass_request_headers on;
|
||||
}
|
||||
|
||||
|
||||
location /widget/ {
|
||||
rewrite ^/widget/?(.*)$ /$1 break;
|
||||
proxy_pass http://widget:5173;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Url-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
|
||||
location ~* \.io {
|
||||
rewrite ^/api/?(.*)$ /$1 break;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user