wiz
2f7a0cc81f
Route new APIs to services backend
2022-07-21 18:07:28 +02:00
wiz
215978985c
Reduce nginx cache time for production homepage
2022-07-18 17:47:33 -05:00
wiz
6daf1a17e2
Merge pull request #2071 from mempool/wiz/add-maxmind-geoipdb
...
Add maxmind geoip-db update utility to prod installer
2022-07-11 16:42:24 +02:00
Erik Arvstedt
8e5b609587
nginx: Fix gixy test host_spoofing
...
This patch was generated by replacing:
`proxy_set_header Host $http_host` ->
`proxy_set_header Host $host`
Script:
find . -type f -exec sed -i 's|proxy_set_header Host \$http_host|proxy_set_header Host \$host|g' {} \;
Fixes test error:
```
>> Problem: [host_spoofing] The proxied Host header may be spoofed.
Description: In most cases "$host" variable are more appropriate, just use it.
Additional info: https://github.com/yandex/gixy/blob/master/docs/en/plugins/hostspoofing.md
```
`proxy_set_header Host $host` is indeed the recommended default proxy header setting.
2022-07-11 15:32:37 +02:00
Erik Arvstedt
a88388e311
nginx: Fix gixy test http_splitting
...
Fixes test error:
```
>> Problem: [http_splitting] Possible HTTP-Splitting vulnerability.
Description: Using variables that can contain "\n" or "\r" may lead to http injection.
```
Summary: `$uri` should never be used in `return` statements.
See: https://github.com/yandex/gixy/blob/master/docs/en/plugins/httpsplitting.md
In this case, `$uri` always equals `/`, so just replace it.
2022-07-11 15:25:42 +02:00
wiz
bc6b96fcfb
Add maxmind geoip-db update utility to prod installer
2022-07-11 14:32:38 +02:00
wiz
f3b06bb3af
Merge pull request #2041 from Emzy/ops/freebsd-nginx-conf
...
Install nginx config also for freebsd on prod install
2022-07-09 14:33:24 +02:00
wiz
2980790fad
Update to Node.js v16.16.0, use shared zlib for prod
2022-07-08 17:22:56 +02:00
wiz
2360d8c386
Merge pull request #2040 from Emzy/ops/disable-dialog
...
Remove the dialog for now on prod install
2022-07-08 16:55:40 +02:00
Stephan Oeste
26db80c6fd
Install nginx config also for freebsd on prod install
2022-07-08 15:59:39 +02:00
wiz
3ee806107c
Print onions on separate lines after prod install
2022-07-08 15:34:10 +02:00
Stephan Oeste
3d87ca0ea3
Add mempool build as final step on prod install
2022-07-08 15:29:59 +02:00
Stephan Oeste
20d8927725
Remove the dialog for now on prod install
2022-07-08 15:26:13 +02:00
wiz
25f81bf203
Merge pull request #2032 from Emzy/ops/fix-elements-service
...
Fix service name to elements and add elements testnet for prod install
2022-07-08 11:57:36 +02:00
Stephan Oeste
9483c6f423
Fix service name to elements and add elements testnet for prod install
2022-07-08 11:54:26 +02:00
Stephan Oeste
dc64d2744e
Quote echo output in prod install
2022-07-08 11:05:45 +02:00
Stephan Oeste
ace27157cb
Installing Linux nginx config in prod install
2022-07-07 21:09:00 +02:00
wiz
13af42226d
Merge branch 'master' into wiz/fix-npm-install-no-optional
2022-07-07 20:36:58 +02:00
wiz
4a6dabc0f2
Merge pull request #2013 from Emzy/ops/set-user-ulimit
...
Set ulimit highter for all users in prod install
2022-07-07 19:56:38 +02:00
wiz
ef0634041c
Merge pull request #1998 from Emzy/ops/fix-linux-crontab
...
Make user crontab reliable in prod install script
2022-07-07 19:56:06 +02:00
Stephan Oeste
9e4dfff966
Set ulimit highter for all users in prod install
2022-07-07 19:22:47 +02:00
wiz
15e2c10e45
Fix npm install commands in Dockerfiles and ops scripts
2022-07-07 18:53:17 +02:00
Stephan Oeste
3430c09468
Make user crontab reliable in prod install script
2022-07-07 17:13:09 +02:00
wiz
c66968e263
Merge pull request #2003 from mempool/ops/fix-npm-install-prod
...
Add `--prod` to `npm install` in ops scripts
2022-07-07 16:36:11 +02:00
wiz
1725763f42
Add --prod
to npm install
in ops scripts
2022-07-07 13:59:51 +02:00
Stephan Oeste
d26a60ef09
Fix startup scripts in prod install
2022-07-07 12:19:51 +02:00
wiz
4390d520e7
Merge pull request #1985 from Emzy/ops/install-linux-crontab
...
Add crontab creation for linux and bitcoin-minfee.service in prod install
2022-07-06 19:02:27 +02:00
wiz
785533486e
Merge pull request #1979 from Emzy/ops/cpu-count
...
Limit make to max cpus in prod install
2022-07-06 18:51:53 +02:00
wiz
095869821c
Merge pull request #1977 from Emzy/ops/fix-shebang-scripts
...
Disable confirmation prompt for rust and change shebang in scripts to be universal for prod install
2022-07-06 18:51:18 +02:00
Stephan Oeste
21e6d13479
Add crontab creation for linux and bitcoin-minfee.service in prod install
2022-07-06 18:31:31 +02:00
wiz
63f4c5a003
Refactor nginx.conf and other ops scripts for lightning
2022-07-06 17:13:09 +02:00
Stephan Oeste
f5a629837c
Limit make to max cpus in prod install
2022-07-06 14:41:11 +02:00
Stephan Oeste
cfbee5d33f
Change shebang in scripts to be universal for prod install
2022-07-06 12:11:13 +02:00
Stephan Oeste
0c6ecd2238
Disable confirmation prompt for rust install in prod install script
2022-07-06 11:46:46 +02:00
wiz
0306c95d9e
Merge branch 'master' into feature/nymkappa/index-difficulty-adjustments
2022-07-06 00:20:39 +02:00
wiz
656c294a07
Merge branch 'master' into ops/linux-no-patch-electrs
2022-07-06 00:10:19 +02:00
wiz
08842deadf
Fix typo in prod installer
2022-07-06 00:09:05 +02:00
wiz
e97873474c
Fix typo in prod installer
2022-07-06 00:08:55 +02:00
wiz
f88b6e0214
Fix typo in prod installer
2022-07-06 00:08:47 +02:00
wiz
30c5bde435
Merge branch 'master' into ops/linux-java-install
2022-07-06 00:05:22 +02:00
wiz
392643bdc8
Merge branch 'master' into ops/linux-services
2022-07-06 00:04:11 +02:00
wiz
0b827b663e
Merge pull request #1970 from Emzy/ops/linux-packages-fix
...
Fix Linux packages, usernames and path in prod install script
2022-07-06 00:03:59 +02:00
nymkappa
36d9425853
Index difficulty adjustments
2022-07-05 16:52:56 +02:00
Stephan Oeste
bf4831132f
Removing commands and enable tor in prod install script
2022-07-05 14:43:01 +02:00
Stephan Oeste
0e7db7d5b7
Omit FreeBSD Elecrs patch for Linux on prod install script
2022-07-05 14:20:35 +02:00
Stephan Oeste
62a1b7e013
Fix Bisq Java install script name for prod install script
2022-07-05 14:09:32 +02:00
Stephan Oeste
84c23a25c2
Install Bitcoin and Liquid core services in prod install script
2022-07-05 13:54:58 +02:00
Stephan Oeste
6a9358c9e2
Fix Linux packages, usernames and path in prod install script
2022-07-05 13:39:29 +02:00
Stephan Oeste
4e0b1fc032
Fix sed command for Linux systems in the prod install script
2022-07-05 13:19:56 +02:00
wiz
c1fea3be9e
Merge pull request #1965 from Emzy/ops/linux-dir-creation
...
Create directories for Linux in prod install
2022-07-04 19:55:09 +02:00