Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.
Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.
Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier



# -------------------------------------------------------------------------------------------------------
# PhotoStation
# -------------------------------------------------------------------------------------------------------
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name photo.meinedomain.de;
root /var/packages/PhotoStation/target/photo;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always;
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_read_timeout 300;
#auth_basic "Photostation";
#auth_basic_user_file /etc/nginx/.htpasswd;
rewrite ^/$ http://$http_host/photo;
proxy_pass http://meinedomain.de;
}
}
# -------------------------------------------------------------------------------------------------------
# HTTPS Redirect
# -------------------------------------------------------------------------------------------------------
server {
listen 80;
server_name *.meinedomain.de;
return 301 https://$http_host$request_uri;
}
# -------------------------------------------------------------------------------------------------------
# HTTPS Redirect
# -------------------------------------------------------------------------------------------------------
# PhotoStation
# -------------------------------------------------------------------------------------------------------
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name sub.meinedomain.de;
# LetsEncrypt certificates
ssl_certificate /usr/syno/etc/certificate/_archive/1234xxx/fullchain.pem;
ssl_certificate_key /usr/syno/etc/certificate/_archive/1234xxx/privkey.pem;
root /var/packages/PhotoStation/target;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always;
location / {
root /var/packages/PhotoStation/target;
location ~* \.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(.*)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param HTTPS $https if_not_empty;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $host;
# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param REDIRECT_STATUS 200;
fastcgi_intercept_errors on;
try_files $fastcgi_script_name =404;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass unix:/run/php-fpm/php70-fpm.PhotoStation.sock;
}
rewrite ^/$ http://$http_host/photo;
#proxy_pass http://meinedomain.de;
}
}
telnet imap.domain.de 143
Trying 84.142.xxx.xxx...
Connected to imap.domain.de.
Escape character is '^]'.
Connection closed by foreign host.
server {
listen 80;
server_name photo.meinedomain.at;
return 301 https://$http_host$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name photo.meinedomain.at;
root var/packages/PhotoStation/target/photo;
ssl_certificate /usr/syno/etc/certificate/_archive/xfx4ba/fullchain.pem;
ssl_certificate_key /usr/syno/etc/certificate/_archive/xfx4ba/privkey.pem;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_intercept_errors on;
proxy_http_version 1.1;
include /etc/nginx/conf.d/www.PhotoStation.conf;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php-fpm/php70-fpm.Photostation.sock;
fastcgi_read_timeout 300;
rewrite ^/$ https://$http_host/photo$uri$args$is_args$query_string;
proxy_pass https://localhost:443;
}
location ~ ^/photo {
rewrite ^/(.*)$ $1/ permanent;
}
rewrite ^/photo/share/([^/]+)$ /photo/share.php?shareid=$1;
rewrite ^/photo/share/([^/]+)/(.*)$ /photo/share.php?shareid=$1&itemid=$2;
rewrite ^/photo/webapi/download\.php/1\.([^?]*)?(.*)$ /photo/webapi/download.php?$2;
}
# -------------------------------------------------------------------------------------------------------
# -------------------------------------------------------------------------------------------------------
# Reverse Proxy
# -------------------------------------------------------------------------------------------------------
server {
listen 443 ssl;
listen [::]:443 ssl;
listen 80;
listen [::]:80;
listen 9090;
server_name xxxxxxxxx.goip.de;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always;
# --------------------------------------------------------------------------------------------------
# DSM 218
# ---------------------------------------------------------------------------------------------------
location /ds218/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_intercept_errors on;
proxy_http_version 1.1;
proxy_pass http://192.168.6.2:5000/;
}
# ----------------------------------------------------------------------
# DSM 216
# ----------------------------------------------------------------------
location /ds216/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forward
proxy_set_header X-Forwarded-Proto $scheme;
proxy_intercept_errors on;
proxy_http_version 1.1;
proxy_pass http://192.168.6.8:5002/;
}
# ---------------------------------------------------------------------------------------------------
# guacamole Diskstation
# ---------------------------------------------------------------------------------------------------
location /guac/ {
proxy_pass http://192.168.6.2:8080/guacamole/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_cookie_path /guacamole/ /guac/;
access_log off;
}
# ---------------------------------------------------------------------------------------------------
# guacamole RPi
# ---------------------------------------------------------------------------------------------------
location /guacamole/ {
proxy_pass http://192.168.6.17:8080/guacamole/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_cookie_path /guacamole/ /guacamole/;
access_log off;
}
# ---------------------------------------------------------------------------------------------------
# phpmyadmin
# ---------------------------------------------------------------------------------------------------
location /php/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_read_timeout 300;
proxy_pass http://192.168.6.2/phpMyAdmin/;
}
# ---------------------------------------------------------------------------------------------------
# websever RPi3 MY
# ---------------------------------------------------------------------------------------------------
location /web {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_read_timeout 300;
proxy_pass http://192.168.6.17:8080/;
}
# ---------------------------------------------------------------------------------------------------
# DMS
# ---------------------------------------------------------------------------------------------------
location /dms/ {
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_intercept_errors on;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_read_timeout 300;
proxy_pass http://192.168.6.2/seeddms50x/www/;
}
# ---------------------------------------------------------------------------------------------------
# kodi my
# ---------------------------------------------------------------------------------------------------
location /kodimy/{
rewrite ^ $request_uri;
rewrite ^/kodimy/(.*) /$1 break;
proxy_redirect http://192.168.6.17:8090 /kodimy/;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_pass http://192.168.6.17:8090$uri;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /image
{
proxy_pass http://192.168.6.17:8090;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /jsonrpc
{
proxy_pass http://192.168.6.17:8090;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
# ---------------------------------------------------------------------------------------------------
# Hauptseite
# ---------------------------------------------------------------------------------------------------
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_read_timeout 300;
proxy_pass http://192.168.6.2/;
}
location /secret/ {
auth_basic "secret";
auth_basic_user_file /volume1/web/secret/.htpasswd;
proxy_pass http://192.168.6.2/secret/;
}
}
# -------------------------------------------------------------------------------------------------------
# -------------------------------------------------------------------------------------------------------
# ----------------------------------------------------------------------
# DSM 216
# ----------------------------------------------------------------------
location /ds216/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_intercept_errors on;
proxy_http_version 1.1;
proxy_pass http://192.168.6.8:8000/;
}
server {
listen 443;
server_name dsm.domain.de;
location / {
proxy_pass https://127.0.0.1:5051;
}
}
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.