mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
removed widget dependency from nginx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user