Hello I am running Pydio on a nginx
My syncing is not working and the tutorial for finding the issue tells me, it should be possible to simply reload the webpage.
But if I do so a download window appears and something like application/octet-stream is written there.
Can someone help me please?
This is my site config file:
server {
listen 80;
server_name 192.168.100.67 XXX.my-wan.de;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
listen 443 ssl;
server_name 192.168.100.67 XXX.my-wan.de;
root /var/www;
index index.php index.htm index.html;
ssl_certificate /etc/nginx/ssl/certificate.crt;
ssl_certificate_key /etc/nginx/ssl/certificate.key;
# Add headers to serve security related headers
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
ssl_dhparam /etc/nginx/ssl/dhparams.pem;
ssl_ciphers 'ECDHE-ALOTOFSIGNS';
ssl_prefer_server_ciphers on;
keepalive_requests 10;
keepalive_timeout 60 60;
access_log /var/log/nginx/access_pydio6_log;
error_log /var/log/nginx/error_pydio6_log;
# error_log /var/log/nginx/error_baikal.log debug;
charset utf8;
client_max_body_size 15M;
client_body_buffer_size 128k;
try_files $uri $uri/ /pydio/index.php?$args
rewrite ^/pydio/dashboard|^/pydio/settings|^/pydio/welcome|^/pydio/ws- /pydio/index.php last;
#if ( !-e $request_filename ) {
# WebDAV Rewrites
#rewrite ^/pydio/shares /pydio/dav.php last;
# Sync client
#rewrite ^/pydio/api /pydio/rest.php last;
# External users
#rewrite ^/pydio/user ./pydio/index.php?get_action=user_access_point last;
# Public shares
#rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)\.php$ /pydio/data/public/share.php?hash=$1?;
#}
rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)--([a-z]+)$ /pydio/data/public/share.php?hash=$1&lang=$2?;
rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)$ /pydio/data/public/share.php?hash=$1?;
# Prevent Clickjacking
add_header X-Frame-Options "SAMEORIGIN";
# Only allow these request methods and do not accept DELETE, SEARCH and other methods
if ( $request_method !~ ^(GET|HEAD|POST|PROPFIND|OPTIONS)$ ) {
return 444;
}
location ~* ^/(?:\.|conf|data/(?:files|personal|logs|plugins|tmp|cache)|plugins/editor.zoho/agent/files) {
deny all;
}
# Enables PHP
location ~ \.php$ {
# for ^/(index|plugins) request_uri should be changed
set $request_url $request_uri;
if ( $uri ~ ^/(index|plugins) ) {
set $request_url /;
}
include fastcgi.conf;
fastcgi_param REQUEST_URI $request_url;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
}
# Enables Caching
location ~* \.(ico|css|js)$ {
expires 7d;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
}
My syncing is not working and the tutorial for finding the issue tells me, it should be possible to simply reload the webpage.
But if I do so a download window appears and something like application/octet-stream is written there.
Can someone help me please?
This is my site config file:
server {
listen 80;
server_name 192.168.100.67 XXX.my-wan.de;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
listen 443 ssl;
server_name 192.168.100.67 XXX.my-wan.de;
root /var/www;
index index.php index.htm index.html;
ssl_certificate /etc/nginx/ssl/certificate.crt;
ssl_certificate_key /etc/nginx/ssl/certificate.key;
# Add headers to serve security related headers
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
ssl_dhparam /etc/nginx/ssl/dhparams.pem;
ssl_ciphers 'ECDHE-ALOTOFSIGNS';
ssl_prefer_server_ciphers on;
keepalive_requests 10;
keepalive_timeout 60 60;
access_log /var/log/nginx/access_pydio6_log;
error_log /var/log/nginx/error_pydio6_log;
# error_log /var/log/nginx/error_baikal.log debug;
charset utf8;
client_max_body_size 15M;
client_body_buffer_size 128k;
try_files $uri $uri/ /pydio/index.php?$args
rewrite ^/pydio/dashboard|^/pydio/settings|^/pydio/welcome|^/pydio/ws- /pydio/index.php last;
#if ( !-e $request_filename ) {
# WebDAV Rewrites
#rewrite ^/pydio/shares /pydio/dav.php last;
# Sync client
#rewrite ^/pydio/api /pydio/rest.php last;
# External users
#rewrite ^/pydio/user ./pydio/index.php?get_action=user_access_point last;
# Public shares
#rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)\.php$ /pydio/data/public/share.php?hash=$1?;
#}
rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)--([a-z]+)$ /pydio/data/public/share.php?hash=$1&lang=$2?;
rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)$ /pydio/data/public/share.php?hash=$1?;
# Prevent Clickjacking
add_header X-Frame-Options "SAMEORIGIN";
# Only allow these request methods and do not accept DELETE, SEARCH and other methods
if ( $request_method !~ ^(GET|HEAD|POST|PROPFIND|OPTIONS)$ ) {
return 444;
}
location ~* ^/(?:\.|conf|data/(?:files|personal|logs|plugins|tmp|cache)|plugins/editor.zoho/agent/files) {
deny all;
}
# Enables PHP
location ~ \.php$ {
# for ^/(index|plugins) request_uri should be changed
set $request_url $request_uri;
if ( $uri ~ ^/(index|plugins) ) {
set $request_url /;
}
include fastcgi.conf;
fastcgi_param REQUEST_URI $request_url;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
}
# Enables Caching
location ~* \.(ico|css|js)$ {
expires 7d;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
}