Readme change
This commit is contained in:
parent
8d81d7d204
commit
f44f917af4
70
README.md
70
README.md
@ -1,3 +1,8 @@
|
|||||||
|
# REIVILIBRE'S PERSONAL FORK
|
||||||
|
|
||||||
|
This fork is being developed for stability and compatibility with Postgres.
|
||||||
|
|
||||||
|
|
||||||
# TaskBoard
|
# TaskBoard
|
||||||
|
|
||||||
[](https://travis-ci.org/kiswa/TaskBoard) [](https://www.codacy.com/app/kiswa-com/TaskBoard?utm_source=github.com&utm_medium=referral&utm_content=kiswa/TaskBoard&utm_campaign=Badge_Grade) [](https://gitter.im/kiswa/TaskBoard?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [](https://reddit.com/r/TaskBoard)
|
[](https://travis-ci.org/kiswa/TaskBoard) [](https://www.codacy.com/app/kiswa-com/TaskBoard?utm_source=github.com&utm_medium=referral&utm_content=kiswa/TaskBoard&utm_campaign=Badge_Grade) [](https://gitter.im/kiswa/TaskBoard?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [](https://reddit.com/r/TaskBoard)
|
||||||
@ -42,54 +47,79 @@ The directory you create for TaskBoard must have `AllowOverride` set so the
|
|||||||
|
|
||||||
You also have to have `mod_rewrite` installed and enabled.
|
You also have to have `mod_rewrite` installed and enabled.
|
||||||
|
|
||||||
#### NGINX
|
#### Nginx
|
||||||
|
|
||||||
|
|
||||||
Example Nginx configuration:
|
Example Nginx configuration:
|
||||||
|
|
||||||
```
|
```
|
||||||
server {
|
server {
|
||||||
listen 80;
|
server_name ...;
|
||||||
listen [::]:80;
|
|
||||||
listen 443 ssl;
|
|
||||||
|
|
||||||
root /var/www/taskboard/;
|
listen 443 ssl http2;
|
||||||
index index.php index.html index.htm;
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
client_max_body_size 100M;
|
client_max_body_size 100M;
|
||||||
client_body_buffer_size 128k;
|
client_body_buffer_size 128k;
|
||||||
|
|
||||||
server_name taskboard.your.url;
|
# Note: You should disable gzip for SSL traffic.
|
||||||
|
# See: https://bugs.debian.org/773332
|
||||||
|
#
|
||||||
|
# Read up on ssl_ciphers to ensure a secure configuration.
|
||||||
|
# See: https://bugs.debian.org/765782
|
||||||
|
|
||||||
|
ssl_certificate /etc/nginx/tls/....pem;
|
||||||
|
ssl_certificate_key /etc/nginx/tls/....key;
|
||||||
|
include snippets/olivier-good-tls.conf;
|
||||||
|
|
||||||
|
add_header X-Frame-Options SAME-ORIGIN;
|
||||||
|
add_header X-Content-Type-Options nosniff;
|
||||||
|
|
||||||
|
root /var/www/taskboard/taskboard_{{ taskboard.version }};
|
||||||
|
index index.php index.html;
|
||||||
|
autoindex off;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
if (!-e $request_filename){
|
try_files $uri $uri/ /index.html;
|
||||||
rewrite ^(.*)$ /index.html break;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
if (!-e $request_filename) {
|
try_files $uri $uri/ @rewriteApi;
|
||||||
rewrite ^(.*)$ /api/index.php last; break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/taskboard.db {
|
location @rewriteApi {
|
||||||
rewrite ^(.*)$ /api/index.php last; break;
|
rewrite ^(.*)$ /api/index.php last;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
if (!-f $document_root$fastcgi_script_name) {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
|
fastcgi_param HTTP_PROXY "";
|
||||||
|
fastcgi_pass unix:/var/run/php/php-fpm.sock;
|
||||||
|
fastcgi_index index.php;
|
||||||
include snippets/fastcgi-php.conf;
|
include snippets/fastcgi-php.conf;
|
||||||
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /\.ht {
|
location ~ /\.ht {
|
||||||
|
# deny htaccess
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
server_name ...;
|
||||||
|
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
# permanent redirect preserving method (POSTs not converted to GETs)
|
||||||
|
return 301 https://$server_name$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You might need to replace `php7.2-fpm.sock` with your PHP version.
|
You might need to replace `php7.2-fpm.sock` with your PHP version.
|
||||||
|
Reference in New Issue
Block a user