You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
744 B
38 lines
744 B
9 years ago
|
server {
|
||
|
listen 8080 default_server;
|
||
|
server_name _;
|
||
|
|
||
|
access_log /var/log/rainloop/access.log;
|
||
|
error_log /var/log/rainloop/error.log;
|
||
|
|
||
|
large_client_header_buffers 4 32k;
|
||
|
client_max_body_size 50M;
|
||
|
charset utf-8;
|
||
|
|
||
|
root /opt/rainloop;
|
||
|
index index.php;
|
||
|
|
||
|
# deny access to .htaccess files
|
||
|
location ~ /\.ht {
|
||
|
deny all;
|
||
|
}
|
||
|
|
||
|
# rainloop standard security
|
||
|
location ^~ /data {
|
||
|
deny all;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ /index.php?$query_string;
|
||
|
}
|
||
|
|
||
|
location ~ \.php$ {
|
||
|
fastcgi_index index.php;
|
||
|
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
||
|
fastcgi_keep_conn on;
|
||
|
include fastcgi_params;
|
||
|
fastcgi_pass 127.0.0.1:9000;
|
||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||
|
}
|
||
|
}
|