HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: //etc/nginx/app.d/dsm.Contacts.conf
location ~ ^/carddav/ {
    proxy_set_header    X-Real-IP               $remote_addr;
    proxy_set_header    X-Real-Port             $remote_port;
    proxy_set_header    X-Script-Name           /carddav;
    proxy_set_header    X-Forwarded-For         $proxy_add_x_forwarded_for;
    proxy_pass          http://localhost:5555;
    rewrite             /carddav/(.*)           /$1 break;
}

location ~ ^/CtSocketIo/socket.io/ {
	rewrite /CtSocketIo(/.*) $1 break;
	proxy_set_header   X-Real-IP         $remote_addr;
	proxy_set_header   X-Real-Port       $remote_port;
	proxy_set_header   X-Forwarded-For   $http_x_forwarded_for;
	proxy_set_header   X-Forwarded-Proto $scheme;
	proxy_set_header   Host              $http_host;
	proxy_set_header   Upgrade           $http_upgrade;
	proxy_set_header   Connection        "upgrade";
	proxy_http_version 1.1;
	proxy_pass http://unix:/run/pushserver_http.sock;
}

location ~ ^()?/contacts/redirect.php$ {
    default_type    text/html;
    alias           /usr/syno/synoman/webman/3rdparty/Contacts/redirect.php;
}

rewrite ^/.well-known/carddav /carddav/ redirect;

location ~ ^/volume(?:X|USB|SATA|Gluster)?\d+/ {
    internal;

    root /;

    open_file_cache off;

    include app.d/x-accel.*.conf;
    include conf.d/x-accel.*.conf;
}