Rui Carmo
948618018b
add link to ENV
2022-12-30 20:13:01 +00:00
Rui Carmo
fac230b744
Update README.md
...
Simplified some text and removed outdated references.
2022-12-30 20:10:19 +00:00
Rui Carmo
00e945ba8c
Merge nginx caching functionality and docs
...
nginx caching for both uWSGI (UNIX socket) and web (TCP socket) back-ends.
2022-12-30 18:43:14 +00:00
Rui Carmo
81d45e85ad
different fallback default
2022-12-30 18:40:20 +00:00
Rui Carmo
4269c58525
More docs
2022-12-30 18:39:51 +00:00
Rui Carmo
27c87a2235
More control variables, standardized to seconds
2022-12-30 18:35:13 +00:00
Rui Carmo
06bc5ca74b
1 day default
2022-12-28 20:43:59 +00:00
Rui Carmo
fc2f02e4ee
add docs for caching
2022-12-28 20:30:08 +00:00
Rui Carmo
ef27837580
renaming for consistency
2022-12-28 20:06:37 +00:00
Rui Carmo
95f5acc2f1
Fix defaults and add NGINX_CACHE_TIME
2022-12-28 20:05:21 +00:00
Rui Carmo
8317bd8288
Merge pull request #254 from axelbdt/patch-1
...
Update INSTALL.md
2022-12-27 23:57:07 +00:00
Rui Carmo
7768595c03
Affordances when deleting app
...
We should not delete `DATA_ROOT` and we can't delete `CACHE_ROOT` since `nginx` will insist on making it private
2022-12-27 15:35:51 +00:00
Rui Carmo
9abbeb1f31
First pass at caching
2022-12-27 15:11:31 +00:00
Rui Carmo
16bed4c1d9
Update ENV.md
2022-12-22 17:05:14 +00:00
Rui Carmo
3b03dad886
Better explanation
2022-12-22 17:04:47 +00:00
Rui Carmo
f49ef52aa9
readability
2022-12-22 16:59:24 +00:00
Rui Carmo
9e840d7bfb
Added note on NGINX_HTTPS_ONLY
2022-12-22 16:57:59 +00:00
Rui Carmo
4229a618cf
Remove confusing and undocumented HTTPS_TRUE
2022-12-19 20:33:25 +00:00
Rui Carmo
438c90fb75
Update ENV.md
2022-12-19 20:32:00 +00:00
Rui Carmo
6b65e637ce
Merge pull request #256 from piku/no-ipv6
...
Add option for disabling IPv6
2022-12-19 20:20:34 +00:00
Rui Carmo
d10eeec189
Add doc for DISABLE_IPV6
2022-12-19 20:17:00 +00:00
Rui Carmo
45eba60f6d
Remove IPv6 configuration when DISABLE_IPV6 is set
...
This fixes running Piku in some restricted environments when IPv6 is not active, and paves the way for future auto-detection.
2022-12-19 20:14:59 +00:00
Rui Carmo
4944e0f828
Update README.md
2022-11-14 16:49:01 +00:00
LGTM Migrator
2b1ff25816
Add CodeQL workflow for GitHub code scanning
2022-11-10 15:29:14 +00:00
axelbdt
b3f466ada9
Update INSTALL.md
2022-11-10 15:52:39 +01:00
Chris McCormick
283d39e87e
Merge pull request #247 from clusterfudge/issues/236
...
issues/236 -- address DeprecationWarning in `click`
2022-10-26 14:32:53 +08:00
Sean Fitzgerald
6b949591f9
Merge branch 'master' into issues/236
2022-10-17 08:23:07 -07:00
Chris McCormick
958df2685d
Merge pull request #253 from chr15m/fix-trailing-whitespace
...
Fix trailing whitespace.
2022-10-17 09:37:21 +08:00
Chris McCormick
c7af8b2e17
Fix trailing whitespace.
2022-10-17 09:32:17 +08:00
Sean Fitzgerald
340f90b0c0
we allow long lines
...
so why fight with short line indenting?
2022-10-15 19:59:17 -07:00
Sean Fitzgerald
6b9175e390
flake8 failures
2022-10-15 16:12:56 -07:00
Sean Fitzgerald
b0478df36a
Pass default=None to getattr
2022-10-15 16:08:43 -07:00
Sean Fitzgerald
88b7745a9e
Try in a backwards-compatible manner
2022-10-15 11:25:26 -07:00
Chris McCormick
eb28c88dd4
Merge pull request #251 from ewalk153/ew-ruby-use-virtualenv-dir
...
Add bundle command use to VIRTUAL_ENV path
2022-10-11 10:55:23 +08:00
Rui Carmo
de6528a339
updated docs to match new systemd files, also closes #250
2022-10-03 09:31:17 +01:00
Eric Walker
08b5ed2d16
Add bundle command use to VIRTUAL_ENV path
...
A bundler install may attempt to a path that requires sudoer privileges.
Per https://bundler.io/man/bundle-config.1.html#REMEMBERING-OPTIONS ,
`bundle config set --local path` is the preferred way to set a gem path
per project.
2022-10-02 22:39:00 -04:00
Rui Carmo
a7c6d9b408
Create CONTRIBUTING.md
2022-09-12 19:41:56 +01:00
Rui Carmo
2e1dcf1ff8
Update README.md
2022-09-12 19:33:05 +01:00
Rui Carmo
eefe5b10c3
Merge pull request #239 from chr15m/fix-update-command
...
Fix update command in piku cli script
2022-09-12 19:25:23 +01:00
Sean Fitzgerald
f7ecfee8f7
issues/236 -- address DeprecationWarning in `click`
...
In [`click==8.0.0`](https://click.palletsprojects.com/en/8.0.x/changes/#version-8-0-0 ), `MultiCommand.resultcallback` is renamed to `result_callback`, along with a deprecation warning. This change adopts the new naming convention.
2022-07-11 09:05:05 -07:00
Rui Carmo
edef1476fe
Merge pull request #240 from chr15m/fix-broken-acme-call
...
Fix broken acme call
2022-05-12 10:01:20 +01:00
Chris McCormick
0b4eba50d7
Fix ValueError from acme cert issuance.
2022-05-12 09:11:32 +08:00
Minty Cream
e28f45049c
Add multi-domain workaround due to ClickCommand.
...
In practice, ClickCommand.argument splits based on spaces. I couldn't find a way to write config:set NGINX_SERVER_NAME=server1 server2 and had to add this hack to allow for config:set NGINX_SERVER_NAME=server1,server2
2022-05-07 09:14:59 -04:00
Chris McCormick
424df1689a
Merge branch 'master' of github.com:piku/piku
2022-04-26 10:19:22 +08:00
Chris McCormick
a9cbcf3b80
Don't supply app to update command.
2022-04-26 10:19:07 +08:00
Rui Carmo
cfff5a889a
Merge pull request #238 from chr15m/add-gzip-compression-types
...
Add more standard types to gzip compression.
2022-04-16 09:13:47 +01:00
Chris McCormick
76f6d90983
Add more standard types to gzip compression.
...
I noticed JS files weren't being sent back compressed by my Piku box because the application/javascript type was missing from the gzip clause. Also added image/svg+xml and application/json for good measure.
2022-04-16 13:30:16 +08:00
Rui Carmo
38e1876856
Merge pull request #230 from chr15m/fix-npm-symlink-issue
...
Stop npm complaining about the node_modules symlink.
2022-04-02 21:32:34 +01:00
Rui Carmo
e4b2265802
Merge pull request #231 from mlainez/default_root_ca
...
Use letsencrypt by default and allow to change root ca with environme…
2022-04-02 21:32:03 +01:00
Rui Carmo
92b9af3904
[noci] README
2022-04-02 21:30:09 +01:00