Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Added sample nginx config file | c7c1a7057ddf6fcca6e02ee63d46777bfa94c8bd | Catalin(ux) M. BOIE | 2017-04-29 14:46:56 |
Improved error reporting when php-fpm receives chunked encoding | fe158537256add633f02076e8359cd8f2267d54f | Catalin(ux) M. BOIE | 2017-04-29 14:46:18 |
Get rid of strage rewriting in we server config | 8f845f11e9edfa5291965f570a5c971056416b62 | Catalin(ux) M. BOIE | 2017-04-29 14:43:23 |
Do not allow anyone to activate the debug (rg_debug). | 0a296ec27e6988e91db8cac50e53345a8bce1c81 | Catalin(ux) M. BOIE | 2017-04-26 20:09:06 |
Forgot to add diff_too_big file | b6297ed622b8fd1562f6ab05b279290367612b89 | Catalin(ux) M. BOIE | 2017-04-26 20:08:29 |
Added a functional test for http.postBuffer problem | ff650d024cd5f82f796a225c204e156c9e1213f4 | Catalin(ux) M. BOIE | 2017-04-26 20:07:47 |
Added a 'Thanks' section | e7c9731dd32fe48befc58bf08044fd5649f523f4 | Catalin(ux) M. BOIE | 2017-04-26 20:06:49 |
Some big fixes for push over http | 56ebd277c71c50e40af9465cd3867dc885f054b9 | Catalin(ux) M. BOIE | 2017-04-26 20:00:53 |
Do not recursively set the rights - not needed | a9edce3101ad2450b67a575265827aa69efd5c63 | Catalin(ux) M. BOIE | 2017-04-17 07:16:01 |
Cosmetic changes | 4bb36da63972e7e152e4e476e84ed55baba02911 | Catalin(ux) M. BOIE | 2017-04-15 09:29:09 |
Add possibility for admin to limit the git log --patch limit | 1865405c40ebe92aa1bc6fd4569dcbb0e3af476c | Catalin(ux) M. BOIE | 2017-04-15 09:28:46 |
Silent curl in API functional test | e6808bc97d201fd4944de0ad2982c3090ae4743a | Catalin(ux) M. BOIE | 2017-04-15 06:31:04 |
Fixed a lot of tests which used time() for different fields and sometime lost the time race | 6a61493189d07110d3c5fdbe34ea0725d5abbd3b | Catalin(ux) M. BOIE | 2017-04-15 06:25:40 |
Fixed the crash with big diffs by setting a limit | 788e15942d8272685764a25b640eba2c07046437 | Catalin(ux) M. BOIE | 2017-04-15 06:24:30 |
Allow .well-known folder access | 90519cd03bf64839d1a9fc2497e58bd63d8ce6f3 | Catalin(ux) M. BOIE | 2017-04-12 16:50:16 |
When an un-auth user is visiting a user page with no repo, do not invite to create a repo | 6904e1eac3f46c281ae6b4757bcaa16d2acc6169 | Catalin(ux) M. BOIE | 2017-03-27 15:23:52 |
Added a 'push' target in Makefile to not forget to push tags... | 92a9b78e26d8a3e7b466f5aa45678dd2db8d4310 | Catalin(ux) M. BOIE | 2017-03-26 14:29:55 |
Bump version to 0.67 | 6f1c9a6d7f7d40d65def54e23a3590556a346bb8 | Catalin(ux) M. BOIE | 2017-03-26 09:44:32 |
Cosmetic | cb68f1921782a503675c592dc7484aa26b8815b6 | Catalin(ux) M. BOIE | 2017-03-26 09:37:41 |
Improve state handling: do not check for an old value; verify if table exists before doing a select | 17d8eb4b4592dd96e62a8da74d87d3d3b26aeb86 | Catalin(ux) M. BOIE | 2017-03-26 09:37:01 |
File | Lines added | Lines deleted |
---|---|---|
samples/nginx.conf | 50 | 0 |
File samples/nginx.conf added (mode: 100644) (index 0000000..933629a) | |||
1 | upstream rg-php-fpm { | ||
2 | server unix:/run/php-fpm/rocketgit.sock; | ||
3 | } | ||
4 | |||
5 | server { | ||
6 | listen 9002; | ||
7 | listen [::]:9002; | ||
8 | server_name rg.domain.tld; | ||
9 | # TODO: ServerAlias equivalent? | ||
10 | server_tokens off; | ||
11 | root /usr/share/rocketgit/root; | ||
12 | |||
13 | keepalive_timeout 10; | ||
14 | |||
15 | client_max_body_size 1m; | ||
16 | |||
17 | access_log /var/log/nginx/rg-access.log; | ||
18 | error_log /var/log/nginx/rg-error.log; | ||
19 | |||
20 | location ~ ^/(favicon\.ico|themes/.*|robots\.txt|\.well-known/.*)$ { | ||
21 | # TODO: what to put here? | ||
22 | expires max; | ||
23 | } | ||
24 | |||
25 | location / { | ||
26 | client_max_body_size 0; | ||
27 | client_body_buffer_size 128k; | ||
28 | gzip off; | ||
29 | |||
30 | # To allow streaming of the chunked request data to fpm | ||
31 | # TODO: we cannot do this now because php-fpm does not know | ||
32 | # to decode chunked encoding! | ||
33 | #fastcgi_request_buffering off; | ||
34 | |||
35 | # To be able to know that the client closed the connection | ||
36 | # TODO: equivalent for apache? | ||
37 | fastcgi_ignore_client_abort off; | ||
38 | |||
39 | # To allow streaming of the response data to client | ||
40 | fastcgi_buffering off; | ||
41 | |||
42 | # TODO | ||
43 | fastcgi_keep_conn on; | ||
44 | |||
45 | include /etc/nginx/fastcgi_params; | ||
46 | fastcgi_param SCRIPT_FILENAME $document_root/index.php$fastcgi_script_name; | ||
47 | |||
48 | fastcgi_pass unix:/run/php-fpm/rocketgit.sock; | ||
49 | } | ||
50 | } |