Skip to content
Snippets Groups Projects
Commit bc3dcb9c authored by Sanjeevani Avasthi's avatar Sanjeevani Avasthi
Browse files

Deleted frontend/Dockerfile, frontend/Makefile, frontend/nginx.conf files

parent f87a8c59
No related branches found
No related tags found
No related merge requests found
FROM nginx:latest
COPY ./static /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
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}
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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment