Skip to content

Nginx Based Deployment for UCI Frontend and UCI Web Channel #7

Description

@ChakshuGautam

NginX Conf

server {
	listen 80;

	root /usr/site;
	index index.html;

	server_name sandbox.dst.samagra.io; //To be dynamically generated for gitpod or from the env

	location / {
		try_files $uri /index.html;
	}
}

Nginx Docker

uci-pwa:
  image: nginx
  volumes:
   - ./uci-pwa.conf:/etc/nginx/sites-enabled/uci-pwa.conf
   - ./pwa/build:/usr/site
   
  ports:
   - "9099:80"

admin:
  image: nginx
  volumes:
   - ./uci-frontend.conf:/etc/nginx/sites-enabled/uci-frontend.conf
   - ./admin/build:/usr/site
   
  ports:
   - "9098:80"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions