From 6f21c2e0c5631fdde525abdd6d01bb5f67870121 Mon Sep 17 00:00:00 2001 From: iv1310 Date: Mon, 18 Mar 2024 23:35:54 +0700 Subject: [PATCH] chore: remove unused files. --- docker/docker-compose.yml | 7 ------- docker/nginx/Dockerfile | 9 --------- docker/nginx/default.conf | 16 ---------------- 3 files changed, 32 deletions(-) delete mode 100644 docker/nginx/Dockerfile delete mode 100644 docker/nginx/default.conf diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 9bccc0272..1efa720e6 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -9,10 +9,3 @@ services: container_name: subsocial-web-ui restart: on-failure network_mode: "host" - - nginx: - build: ./nginx - container_name: subsocial-proxy - image: dappforce/subsocial-proxy:latest - restart: on-failure - network_mode: "host" diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile deleted file mode 100644 index 954ed60ea..000000000 --- a/docker/nginx/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM nginx:alpine - -RUN rm /etc/nginx/conf.d/* - -COPY ./default.conf /etc/nginx/conf.d/ - -EXPOSE 80 - -CMD [ "nginx", "-g", "daemon off;" ] \ No newline at end of file diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf deleted file mode 100644 index 0eaee85be..000000000 --- a/docker/nginx/default.conf +++ /dev/null @@ -1,16 +0,0 @@ -server { - listen 80 default_server; - - server_name _; - - server_tokens off; - - location / { - proxy_pass http://localhost:3003; - } - - location /bc/ { - rewrite ^/bc(.*) /$1 break; - proxy_pass http://localhost:3002; - } -}