Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in feat/CTB-20-add-base-setup-for-staging-qa-environment (pull…
… request #16) Feat | CTB-20 | Add base setup for staging qa environment * chore(gitignore): Add dist folder * chore: Create dynamic public folder name, based on env type * chore(gulpfile): Update build task to copy everything to dist and minify css and js * chore(layout.ejs): Import minified js and css * chore: Move gulp from dev to dependencies * Update .gitignore * refactor(gulpfile): Create separate build for prod scss * chore(package.json): Remove unnecessary deps * chore: Move pm2 to dependencies * feat(haproxy): Add config for haproxy * refactor(haproxy): Pass the correct ip for server Approved-by: Cosmin Turcin <cosmin.turcin@udevoffice.ro>
- Loading branch information
1 parent
72a6337
commit 0197677
Showing
7 changed files
with
125 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
yarn.lock | ||
yarn-error.log | ||
.vscode | ||
/dist | ||
public/css/*.min.css | ||
public/js/*.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
frontend localnodes | ||
bind *:80 | ||
mode http | ||
default_backend server | ||
|
||
backend server | ||
mode http | ||
balance roundrobin | ||
option forwardfor | ||
http-request set-header X-Forwarded-Port %[dst_port] | ||
option httpchk HEAD / HTTP/1.1\r\nHost:localhost | ||
server argon-1 188.166.160.134:8000 check | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters