diff --git a/docker/docker-compose.nginx.yml b/docker/docker-compose.nginx.yml index 508847d..f179f3d 100644 --- a/docker/docker-compose.nginx.yml +++ b/docker/docker-compose.nginx.yml @@ -14,4 +14,3 @@ services: depends_on: - api - hexabot-frontend - - widget diff --git a/docker/nginx/secure/default.conf.template b/docker/nginx/secure/default.conf.template index e751041..898d798 100644 --- a/docker/nginx/secure/default.conf.template +++ b/docker/nginx/secure/default.conf.template @@ -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; diff --git a/docker/nginx/unsecure/default.conf.template b/docker/nginx/unsecure/default.conf.template index 20dd358..dc55c3b 100644 --- a/docker/nginx/unsecure/default.conf.template +++ b/docker/nginx/unsecure/default.conf.template @@ -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;