diff --git a/Syncthin-Kanban-Server.ffs_gui b/Syncthin-Kanban-Server.ffs_gui new file mode 100644 index 0000000..9972812 --- /dev/null +++ b/Syncthin-Kanban-Server.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/home/sycthing/Kanban|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + D:\5-Other-Small\Kanban + + + + + + + Action + diff --git a/Syncthing-EC-Documentation-Server.ffs_gui b/Syncthing-EC-Documentation-Server.ffs_gui new file mode 100644 index 0000000..7007ddf --- /dev/null +++ b/Syncthing-EC-Documentation-Server.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/home/sycthing/Notes-EC-Documentation|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + D:\5-Other-Small\Notes\EC-Documentation + + + + + + + Action + diff --git a/Syncthing-KeePass-Server.ffs_gui b/Syncthing-KeePass-Server.ffs_gui new file mode 100644 index 0000000..804066c --- /dev/null +++ b/Syncthing-KeePass-Server.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/home/sycthing/KeePass|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + D:\5-Other-Small\KeePass + + + + + + + Action + diff --git a/Syncthing-Network-Server.ffs_gui b/Syncthing-Network-Server.ffs_gui new file mode 100644 index 0000000..4089df2 --- /dev/null +++ b/Syncthing-Network-Server.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/home/sycthing/Notes-Network|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + D:\5-Other-Small\Notes\Network + + + + + + + Action + diff --git a/Syncthing-Notes-Infineon-Server.ffs_gui b/Syncthing-Notes-Infineon-Server.ffs_gui new file mode 100644 index 0000000..8215f09 --- /dev/null +++ b/Syncthing-Notes-Infineon-Server.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/home/sycthing/Notes-Infineon|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + D:\5-Other-Small\Notes\Infineon + + + + + + + Action + diff --git a/Syncthing-Phares-Server.ffs_gui b/Syncthing-Phares-Server.ffs_gui new file mode 100644 index 0000000..29993b8 --- /dev/null +++ b/Syncthing-Phares-Server.ffs_gui @@ -0,0 +1,44 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + *.stfolder | + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/home/sycthing/Notes-Phares|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + D:\5-Other-Small\Notes\Phares + + + + + + + Action + diff --git a/Syncthing-Proxmox-Server.ffs_gui b/Syncthing-Proxmox-Server.ffs_gui new file mode 100644 index 0000000..012b6a0 --- /dev/null +++ b/Syncthing-Proxmox-Server.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/home/sycthing/Proxmox|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + D:\5-Other-Small\Proxmox + + + + + + + Action + diff --git a/Syncthing-UserSecrets-Server.ffs_gui b/Syncthing-UserSecrets-Server.ffs_gui new file mode 100644 index 0000000..7659398 --- /dev/null +++ b/Syncthing-UserSecrets-Server.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/home/sycthing/UserSecrets|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + C:\Users\mikep\AppData\Roaming\Microsoft\UserSecrets + + + + + + + Action + diff --git a/backup-lphares-server.ffs_gui b/backup-lphares-server.ffs_gui new file mode 100644 index 0000000..95986c1 --- /dev/null +++ b/backup-lphares-server.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/mnt/fcroot/home/lphares|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + sftp://root@192.168.11.2/home/lphares|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + + + + + + + Action + diff --git a/etc-server-local.ffs_gui b/etc-server-local.ffs_gui new file mode 100644 index 0000000..e4350ca --- /dev/null +++ b/etc-server-local.ffs_gui @@ -0,0 +1,43 @@ + + + + + TimeAndSize + Exclude + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *\*.mount + *\*.db + .pihole\* + + 0 + 0 + 0 + + + + sftp://root@192.168.11.2/etc|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519 + L:\Git\Linux-Ubuntu-Server\etc + + + + + + + Action + diff --git a/etc/nginx/sites-available/dashkiosk.beelink.server.conf b/etc/nginx/sites-available/dashkiosk.beelink.server.conf new file mode 100644 index 0000000..a75d710 --- /dev/null +++ b/etc/nginx/sites-available/dashkiosk.beelink.server.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = dashkiosk.asus.laptop.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = dashkiosk.asus.laptop +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = dashkiosk.asus.laptop +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/dashkiosk.ddns.net.conf b/etc/nginx/sites-available/dashkiosk.ddns.net.conf new file mode 100644 index 0000000..0c75a70 --- /dev/null +++ b/etc/nginx/sites-available/dashkiosk.ddns.net.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = dashkiosk.ddns.net.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = dashkiosk.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = dashkiosk.ddns.net +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/default b/etc/nginx/sites-available/default index c5af914..8ebc846 100644 --- a/etc/nginx/sites-available/default +++ b/etc/nginx/sites-available/default @@ -1,91 +1,291 @@ -## -# You should look at the following URL's in order to grasp a solid understanding -# of Nginx configuration files in order to fully unleash the power of Nginx. -# https://www.nginx.com/resources/wiki/start/ -# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/ -# https://wiki.debian.org/Nginx/DirectoryStructure -# -# In most cases, administrators will remove this file from sites-enabled/ and -# leave it as reference inside of sites-available where it will continue to be -# updated by the nginx packaging team. -# -# This file will automatically load configuration files provided by other -# applications, such as Drupal or Wordpress. These applications will be made -# available underneath a path with that package name, such as /drupal8. -# -# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples. -## - -# Default server configuration -# server { listen 80 default_server; - listen [::]:80 default_server; - - # SSL configuration - # - # listen 443 ssl default_server; - # listen [::]:443 ssl default_server; - # - # 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 - # - # Self signed certs generated by the ssl-cert package - # Don't use them in a production server! - # - # include snippets/snakeoil.conf; - root /var/www/html; - - # Add index.php to the list if you are using PHP index index.html index.htm index.nginx-debian.html; - server_name _; - location / { - # First attempt to serve request as file, then - # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; } - - # pass PHP scripts to FastCGI server - # - #location ~ \.php$ { - # include snippets/fastcgi-php.conf; - # - # # With php-fpm (or other unix sockets): - # fastcgi_pass unix:/run/php/php7.4-fpm.sock; - # # With php-cgi (or other tcp sockets): - # fastcgi_pass 127.0.0.1:9000; - #} - - # deny access to .htaccess files, if Apache's document root - # concurs with nginx's one - # - #location ~ /\.ht { - # deny all; - #} } - - -# Virtual Host configuration for example.com -# -# You can move that to a different file under sites-available/ and symlink that -# to sites-enabled/ to enable it. -# -#server { -# listen 80; -# listen [::]:80; -# -# server_name example.com; -# -# root /var/www/example.com; -# index index.html; -# -# location / { -# try_files $uri $uri/ =404; -# } -#} +server { + # touch /etc/nginx/sites-available/phares3757.beelink.server.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/phares3757.beelink.server.key -out /etc/nginx/phares3757.beelink.server.crt -config /etc/nginx/sites-available/phares3757.beelink.server.conf + ssl_certificate 'phares3757.beelink.server.crt'; + ssl_certificate_key 'phares3757.beelink.server.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name phares3757.beelink.server; + root /etc/pihole; + autoindex on; + autoindex_format json; + index index.html index.htm index.nginx-debian.html; + server_name _; + location / { + try_files $uri $uri/ =404; + } +} +server { + # touch /etc/nginx/sites-available/dashkiosk.beelink.server.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/dashkiosk.beelink.server.key -out /etc/nginx/dashkiosk.beelink.server.crt -config /etc/nginx/sites-available/dashkiosk.beelink.server.conf + ssl_certificate 'dashkiosk.beelink.server.crt'; + ssl_certificate_key 'dashkiosk.beelink.server.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name dashkiosk.beelink.server; + location / { + 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_pass http://localhost:9400/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/gogs3757.beelink.server.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/gogs3757.beelink.server.key -out /etc/nginx/gogs3757.beelink.server.crt -config /etc/nginx/sites-available/gogs3757.beelink.server.conf + ssl_certificate 'gogs3757.beelink.server.crt'; + ssl_certificate_key 'gogs3757.beelink.server.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name gogs3757.beelink.server; + client_max_body_size 5000m; + location / { + 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_pass http://localhost:3000/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/nextcloud3757.beelink.server.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/nextcloud3757.beelink.server.key -out /etc/nginx/nextcloud3757.beelink.server.crt -config /etc/nginx/sites-available/nextcloud3757.beelink.server.conf + ssl_certificate 'nextcloud3757.beelink.server.crt'; + ssl_certificate_key 'nextcloud3757.beelink.server.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name nextcloud3757.beelink.server; + location / { + 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_pass http://localhost:8081/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/music3757.beelink.server.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/music3757.beelink.server.key -out /etc/nginx/music3757.beelink.server.crt -config /etc/nginx/sites-available/music3757.beelink.server.conf + ssl_certificate 'music3757.beelink.server.crt'; + ssl_certificate_key 'music3757.beelink.server.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name music3757.beelink.server; + root /var/www/html; # /home/syncthing/Loft-5G; + index index.html index.htm index.nginx-debian.html; + location / { + try_files $uri $uri/ =404; + } +} +server { + # touch /etc/nginx/sites-available/photoprism.beelink.server.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/photoprism.beelink.server.key -out /etc/nginx/photoprism.beelink.server.crt -config /etc/nginx/sites-available/photoprism.beelink.server.conf + ssl_certificate 'photoprism.beelink.server.crt'; + ssl_certificate_key 'photoprism.beelink.server.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name photoprism.beelink.server; + location / { + 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_pass http://localhost:2342/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/pi-hole.beelink.server.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/pi-hole.beelink.server.key -out /etc/nginx/pi-hole.beelink.server.crt -config /etc/nginx/sites-available/pi-hole.beelink.server.conf + ssl_certificate 'pi-hole.beelink.server.crt'; + ssl_certificate_key 'pi-hole.beelink.server.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name pi-hole.beelink.server; + location = / { + return 302 https://$host/admin/; + } + location /admin/ { + proxy_pass http://localhost:8005/admin/; + 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; + } +} +server { + # touch /etc/nginx/sites-available/syncthing3757.beelink.server.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/syncthing3757.beelink.server.key -out /etc/nginx/syncthing3757.beelink.server.crt -config /etc/nginx/sites-available/syncthing3757.beelink.server.conf + ssl_certificate 'syncthing3757.beelink.server.crt'; + ssl_certificate_key 'syncthing3757.beelink.server.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name syncthing3757.beelink.server; + location / { + 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_pass http://localhost:8384/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/phares3757.ddns.net.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/phares3757.ddns.net.key -out /etc/nginx/phares3757.ddns.net.crt -config /etc/nginx/sites-available/phares3757.ddns.net.conf + ssl_certificate 'phares3757.ddns.net.crt'; + ssl_certificate_key 'phares3757.ddns.net.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name phares3757.ddns.net; + location / { + 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_pass http://localhost:80/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/dashkiosk.ddns.net.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/dashkiosk.ddns.net.key -out /etc/nginx/dashkiosk.ddns.net.crt -config /etc/nginx/sites-available/dashkiosk.ddns.net.conf + ssl_certificate 'dashkiosk.ddns.net.crt'; + ssl_certificate_key 'dashkiosk.ddns.net.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name dashkiosk.ddns.net; + location / { + 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_pass http://localhost:9400/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/gogs3757.ddns.net.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/gogs3757.ddns.net.key -out /etc/nginx/gogs3757.ddns.net.crt -config /etc/nginx/sites-available/gogs3757.ddns.net.conf + ssl_certificate 'gogs3757.ddns.net.crt'; + ssl_certificate_key 'gogs3757.ddns.net.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name gogs3757.ddns.net; + client_max_body_size 5000m; + location / { + 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_pass http://localhost:3000/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/nextcloud3757.ddns.net.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/nextcloud3757.ddns.net.key -out /etc/nginx/nextcloud3757.ddns.net.crt -config /etc/nginx/sites-available/nextcloud3757.ddns.net.conf + ssl_certificate 'nextcloud3757.ddns.net.crt'; + ssl_certificate_key 'nextcloud3757.ddns.net.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name nextcloud3757.ddns.net; + location / { + 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_pass http://localhost:8081/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/music3757.ddns.net.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/music3757.ddns.net.key -out /etc/nginx/music3757.ddns.net.crt -config /etc/nginx/sites-available/music3757.ddns.net.conf + ssl_certificate 'music3757.ddns.net.crt'; + ssl_certificate_key 'music3757.ddns.net.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name music3757.ddns.net; + root /var/www/html; # /home/syncthing/Loft-5G; + index index.html index.htm index.nginx-debian.html; + location / { + try_files $uri $uri/ =404; + } +} +server { + # touch /etc/nginx/sites-available/photoprism.ddns.net.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/photoprism.ddns.net.key -out /etc/nginx/photoprism.ddns.net.crt -config /etc/nginx/sites-available/photoprism.ddns.net.conf + ssl_certificate 'photoprism.ddns.net.crt'; + ssl_certificate_key 'photoprism.ddns.net.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name photoprism.ddns.net; + location / { + 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_pass http://localhost:2342/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/pi-hole.ddns.net.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/pi-hole.ddns.net.key -out /etc/nginx/pi-hole.ddns.net.crt -config /etc/nginx/sites-available/pi-hole.ddns.net.conf + ssl_certificate 'pi-hole.ddns.net.crt'; + ssl_certificate_key 'pi-hole.ddns.net.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name pi-hole.ddns.net; + location / { + 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_pass http://localhost:8005/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + # touch /etc/nginx/sites-available/syncthing3757.ddns.net.conf + # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/syncthing3757.ddns.net.key -out /etc/nginx/syncthing3757.ddns.net.crt -config /etc/nginx/sites-available/syncthing3757.ddns.net.conf + ssl_certificate 'syncthing3757.ddns.net.crt'; + ssl_certificate_key 'syncthing3757.ddns.net.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + server_name syncthing3757.ddns.net; + location / { + 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_pass http://localhost:8384/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} diff --git a/etc/nginx/sites-available/gogs3757.beelink.server.conf b/etc/nginx/sites-available/gogs3757.beelink.server.conf new file mode 100644 index 0000000..c05ccb2 --- /dev/null +++ b/etc/nginx/sites-available/gogs3757.beelink.server.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = gogs3757.asus.laptop.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = gogs3757.asus.laptop +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = gogs3757.asus.laptop +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/gogs3757.ddns.net.conf b/etc/nginx/sites-available/gogs3757.ddns.net.conf new file mode 100644 index 0000000..f129d14 --- /dev/null +++ b/etc/nginx/sites-available/gogs3757.ddns.net.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = gogs3757.ddns.net.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = gogs3757.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = gogs3757.ddns.net +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/music3757.beelink.server.conf b/etc/nginx/sites-available/music3757.beelink.server.conf new file mode 100644 index 0000000..846b220 --- /dev/null +++ b/etc/nginx/sites-available/music3757.beelink.server.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = music3757.asus.laptop.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = music3757.asus.laptop +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = music3757.asus.laptop +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/music3757.ddns.net.conf b/etc/nginx/sites-available/music3757.ddns.net.conf new file mode 100644 index 0000000..852b998 --- /dev/null +++ b/etc/nginx/sites-available/music3757.ddns.net.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = music3757.ddns.net.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = music3757.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = music3757.ddns.net +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/nextcloud3757.beelink.server.conf b/etc/nginx/sites-available/nextcloud3757.beelink.server.conf new file mode 100644 index 0000000..e5c115f --- /dev/null +++ b/etc/nginx/sites-available/nextcloud3757.beelink.server.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = nextcloud3757.asus.laptop.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = nextcloud3757.asus.laptop +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = nextcloud3757.asus.laptop +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/nextcloud3757.ddns.net.conf b/etc/nginx/sites-available/nextcloud3757.ddns.net.conf new file mode 100644 index 0000000..25ee374 --- /dev/null +++ b/etc/nginx/sites-available/nextcloud3757.ddns.net.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = nextcloud3757.ddns.net.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = nextcloud3757.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = nextcloud3757.ddns.net +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/phares3757.beelink.server.conf b/etc/nginx/sites-available/phares3757.beelink.server.conf new file mode 100644 index 0000000..7d34c2d --- /dev/null +++ b/etc/nginx/sites-available/phares3757.beelink.server.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = phares3757.asus.laptop.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = phares3757.asus.laptop +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = phares3757.asus.laptop +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/phares3757.ddns.net.conf b/etc/nginx/sites-available/phares3757.ddns.net.conf new file mode 100644 index 0000000..cd94925 --- /dev/null +++ b/etc/nginx/sites-available/phares3757.ddns.net.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = phares3757.ddns.net.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = phares3757.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = phares3757.ddns.net +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/photoprism.beelink.server.conf b/etc/nginx/sites-available/photoprism.beelink.server.conf new file mode 100644 index 0000000..3b621a2 --- /dev/null +++ b/etc/nginx/sites-available/photoprism.beelink.server.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = photoprism.asus.laptop.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = photoprism.asus.laptop +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = photoprism.asus.laptop +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/photoprism.ddns.net.conf b/etc/nginx/sites-available/photoprism.ddns.net.conf new file mode 100644 index 0000000..82bf3a8 --- /dev/null +++ b/etc/nginx/sites-available/photoprism.ddns.net.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = photoprism.ddns.net.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = photoprism.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = photoprism.ddns.net +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/pi-hole.beelink.server.conf b/etc/nginx/sites-available/pi-hole.beelink.server.conf new file mode 100644 index 0000000..8cce435 --- /dev/null +++ b/etc/nginx/sites-available/pi-hole.beelink.server.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = pi-hole.asus.laptop.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = pi-hole.asus.laptop +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = pi-hole.asus.laptop +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/pi-hole.ddns.net.conf b/etc/nginx/sites-available/pi-hole.ddns.net.conf new file mode 100644 index 0000000..6478d30 --- /dev/null +++ b/etc/nginx/sites-available/pi-hole.ddns.net.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = pi-hole.ddns.net.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = pi-hole.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = pi-hole.ddns.net +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/syncthing3757.beelink.server.conf b/etc/nginx/sites-available/syncthing3757.beelink.server.conf new file mode 100644 index 0000000..fc39879 --- /dev/null +++ b/etc/nginx/sites-available/syncthing3757.beelink.server.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = syncthing3757.asus.laptop.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = syncthing3757.asus.laptop +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = syncthing3757.asus.laptop +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/nginx/sites-available/syncthing3757.ddns.net.conf b/etc/nginx/sites-available/syncthing3757.ddns.net.conf new file mode 100644 index 0000000..610f3cf --- /dev/null +++ b/etc/nginx/sites-available/syncthing3757.ddns.net.conf @@ -0,0 +1,32 @@ +[req] +default_bits = 2048 +default_keyfile = syncthing3757.ddns.net.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = syncthing3757.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = syncthing3757.ddns.net +DNS.10 = localhost +DNS.11 = 127.0.0.1 diff --git a/etc/passwd b/etc/passwd index 530284f..879100e 100644 --- a/etc/passwd +++ b/etc/passwd @@ -26,3 +26,7 @@ polkitd:x:995:995:polkit:/nonexistent:/usr/sbin/nologin usbmux:x:103:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin sshd:x:104:65534::/run/sshd:/usr/sbin/nologin mike:x:1000:1000:Mike Phares:/home/mike:/bin/bash +sycthing:x:1001:1001:,,,:/home/sycthing:/bin/bash +lphares:x:1002:1002:Logan Phares,,,:/home/lphares:/bin/bash +bmiller:x:1003:1003:Bill Miller,,,:/home/bmiller:/bin/bash +gogs:x:1004:1004:gogs,,,:/home/gogs:/bin/bash