Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
navinmishra1717 committed Jan 10, 2019
1 parent 8e45517 commit dbbd756
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
.vscode/
.idea/
*lock.json
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
**To Start Server PORT:- 5020**
**To Start Server PORT:- 5050**

- cd server
- npm install
- npm start

**To Start Client PORT:- 5021**
**To Start Client PORT:- 5051**

- cd client
- npm install
Expand Down
14 changes: 7 additions & 7 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
upstream hrapp-api-wafttech-com-np {
server 127.0.0.1:5020 fail_timeout=0;
upstream waft-engine-api-wafttech-com-np {
server 127.0.0.1:5050 fail_timeout=0;
}
upstream hrapp-wafttech-com-np {
server 127.0.0.1:5021 fail_timeout=0;
upstream waft-engine-wafttech-com-np {
server 127.0.0.1:5051 fail_timeout=0;
}


Expand All @@ -13,19 +13,19 @@ server {
# Add index.php to the list if you are using PHP
# index index.html index.htm index.nginx-debian.html;

server_name hrapp.wafttech.com.np;
server_name waft-engine.wafttech.com.np;

# For Book Keeping Appp
location / {
proxy_pass http://hrapp-wafttech-com-np;
proxy_pass http://waft-engine-wafttech-com-np;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /api {
proxy_pass http://hrapp-api-wafttech-com-np;
proxy_pass http://waft-engine-api-wafttech-com-np;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
Expand Down

0 comments on commit dbbd756

Please sign in to comment.