diff --git a/frontend/Dockerfile b/frontend/Dockerfile deleted file mode 100644 index fd7c5a87e3931b2df352d43f44799c8762b040d6..0000000000000000000000000000000000000000 --- a/frontend/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM nginx:latest - -COPY ./static /usr/share/nginx/html - -COPY nginx.conf /etc/nginx/conf.d/default.conf diff --git a/frontend/Makefile b/frontend/Makefile deleted file mode 100644 index 902e95917881036091df9c1d625bb2dfceed690e..0000000000000000000000000000000000000000 --- a/frontend/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -build: - docker build . -t avasthi/twitter-app:${VERSION} - -push: - docker push avasthi/twitter-app:${VERSION} - -run: - docker run -d -p 80:80 avasthi/twitter-app:${VERSION} diff --git a/frontend/nginx.conf b/frontend/nginx.conf deleted file mode 100644 index adbca7bcb6476e289d614d18e0ded871542c4bc2..0000000000000000000000000000000000000000 --- a/frontend/nginx.conf +++ /dev/null @@ -1,22 +0,0 @@ -server { - listen 80; - listen [::]:80; - server_name 172.26.131.9; - include /etc/nginx/mime.types; - default_type application/octet-stream; - access_log /var/log/nginx/access.log main; - - root /usr/share/nginx/html; - - location / { - index index.html index.htm; - } - location /couchdb { - rewrite /couchdb/(.*) /$1 break; - proxy_pass http://172.26.130.79:5984; - proxy_redirect off; - proxy_buffering off; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - } -}