Merge pull request #333 from teemuteekkari/feat/nginx-widget-removal

removed  widget dependency from nginx
This commit is contained in:
Med Marrouchi 2024-11-17 09:58:10 +01:00 committed by GitHub
commit 028c754825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 23 deletions

View File

@ -14,4 +14,3 @@ services:
depends_on:
- api
- hexabot-frontend
- widget

View File

@ -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;

View File

@ -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;