baremetal install, cleaned up code
This commit is contained in:
@@ -1,147 +0,0 @@
|
||||
sonarr.danilo-reyes.com {
|
||||
reverse_proxy localhost:8989
|
||||
}
|
||||
code.danilo-reyes.com {
|
||||
reverse_proxy localhost:5538
|
||||
}
|
||||
radarr.danilo-reyes.com {
|
||||
reverse_proxy localhost:7878
|
||||
}
|
||||
bazarr.danilo-reyes.com {
|
||||
reverse_proxy localhost:6767
|
||||
}
|
||||
prowlarr.danilo-reyes.com {
|
||||
reverse_proxy localhost:9696
|
||||
}
|
||||
flix.danilo-reyes.com {
|
||||
reverse_proxy localhost:8096
|
||||
}
|
||||
library.danilo-reyes.com {
|
||||
reverse_proxy localhost:5000
|
||||
}
|
||||
shiori.danilo-reyes.com {
|
||||
reverse_proxy localhost:7680
|
||||
}
|
||||
start.danilo-reyes.com {
|
||||
reverse_proxy localhost:5005
|
||||
}
|
||||
torrent.danilo-reyes.com {
|
||||
reverse_proxy localhost:9091
|
||||
}
|
||||
kitchen.danilo-reyes.com {
|
||||
reverse_proxy localhost:9925
|
||||
}
|
||||
vault.danilo-reyes.com {
|
||||
log {
|
||||
level INFO
|
||||
output file /home/jawz/Development/Docker/vaultwarden/caddy.log {
|
||||
roll_size 10MB
|
||||
roll_keep 10
|
||||
}
|
||||
}
|
||||
tls captainjawz@outlook.com
|
||||
# comment if giving issues with firefox
|
||||
encode gzip
|
||||
@insecureadmin {
|
||||
not remote_ip 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8
|
||||
path /admin*
|
||||
}
|
||||
redir @insecureadmin /
|
||||
reverse_proxy /notifications/hub localhost:3012
|
||||
reverse_proxy localhost:7780 {
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
}
|
||||
searx.danilo-reyes.com {
|
||||
log {
|
||||
output discard
|
||||
}
|
||||
|
||||
tls captainjawz@outlook.com
|
||||
|
||||
@api {
|
||||
path /config
|
||||
path /healthz
|
||||
path /stats/errors
|
||||
path /stats/checker
|
||||
}
|
||||
|
||||
@static {
|
||||
path /static/*
|
||||
}
|
||||
|
||||
@notstatic {
|
||||
not path /static/*
|
||||
}
|
||||
|
||||
@imageproxy {
|
||||
path /image_proxy
|
||||
}
|
||||
|
||||
@notimageproxy {
|
||||
not path /image_proxy
|
||||
}
|
||||
|
||||
header {
|
||||
# Enable HTTP Strict Transport Security (HSTS) to force clients to always connect via HTTPS
|
||||
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||
|
||||
# Enable cross-site filter (XSS) and tell browser to block detected attacks
|
||||
X-XSS-Protection "1; mode=block"
|
||||
|
||||
# Prevent some browsers from MIME-sniffing a response away from the declared Content-Type
|
||||
X-Content-Type-Options "nosniff"
|
||||
|
||||
# Disable some features
|
||||
Permissions-Policy "accelerometer=(),ambient-light-sensor=(),autoplay=(),camera=(),encrypted-media=(),focus-without-user-activation=(),geolocation=(),gyroscope=(),magnetometer=(),microphone=(),midi=(),payment=(),picture-in-picture=(),speaker=(),sync-xhr=(),usb=(),vr=()"
|
||||
|
||||
# Disable some features (legacy)
|
||||
Feature-Policy "accelerometer 'none';ambient-light-sensor 'none'; autoplay 'none';camera 'none';encrypted-media 'none';focus-without-user-activation 'none'; geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none'; speaker 'none';sync-xhr 'none';usb 'none';vr 'none'"
|
||||
|
||||
# Referer
|
||||
Referrer-Policy "no-referrer"
|
||||
|
||||
# X-Robots-Tag
|
||||
X-Robots-Tag "noindex, noarchive, nofollow"
|
||||
|
||||
# Remove Server header
|
||||
-Server
|
||||
}
|
||||
|
||||
header @api {
|
||||
Access-Control-Allow-Methods "GET, OPTIONS"
|
||||
Access-Control-Allow-Origin "*"
|
||||
}
|
||||
|
||||
# Cache
|
||||
header @static {
|
||||
# Cache
|
||||
Cache-Control "public, max-age=31536000"
|
||||
defer
|
||||
}
|
||||
|
||||
header @notstatic {
|
||||
# No Cache
|
||||
Cache-Control "no-cache, no-store"
|
||||
Pragma "no-cache"
|
||||
}
|
||||
|
||||
# CSP (see http://content-security-policy.com/ )
|
||||
header @imageproxy {
|
||||
Content-Security-Policy "default-src 'none'; img-src 'self' data:"
|
||||
}
|
||||
|
||||
header @notimageproxy {
|
||||
Content-Security-Policy "upgrade-insecure-requests; default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; form-action 'self'; font-src 'self'; frame-ancestors 'self'; base-uri 'self'; connect-src 'self' https://overpass-api.de; img-src 'self' data: https://*.tile.openstreetmap.org; frame-src https://www.youtube-nocookie.com https://player.vimeo.com https://www.dailymotion.com https://www.deezer.com https://www.mixcloud.com https://w.soundcloud.com https://embed.spotify.com"
|
||||
}
|
||||
|
||||
# SearXNG
|
||||
handle {
|
||||
encode zstd gzip
|
||||
|
||||
reverse_proxy localhost:8080 {
|
||||
header_up X-Forwarded-Port {http.request.port}
|
||||
header_up X-Forwarded-Proto {http.request.scheme}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"extractor": {
|
||||
"cookies": ["chrome", "Default", "gnomekeyring"],
|
||||
"cookies": ["firefox", "yw8fhvh4.default-release", "gnomekeyring"],
|
||||
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36",
|
||||
"retries": 10,
|
||||
"sleep-request": 0,
|
||||
@@ -20,8 +20,13 @@
|
||||
"access-token": "72157720849409732-e83af94a8ca145aa",
|
||||
"access-token-secret": "0c7e86529694756a"
|
||||
},
|
||||
"wikifeet": {
|
||||
"page-reverse": true,
|
||||
"directory": ["{category}", "{celebrity}"]
|
||||
},
|
||||
"instagram": {
|
||||
"sleep-request": 5,
|
||||
"sleep-request": "15-45",
|
||||
"sleep": "2-10",
|
||||
"directory": ["{username}"],
|
||||
"parent-directory": true,
|
||||
"highlights": {
|
||||
@@ -60,7 +65,7 @@
|
||||
"deviantart": {
|
||||
"client-id": "20016",
|
||||
"client-secret": "52e1f9b0cb26e673da36f69e2ddd0e9a",
|
||||
"refresh-token": "4f9817b7c42671003e10dd5a5a48473855779359",
|
||||
"refresh-token": "760c08e027c422e376c2be5656f0bcaa28438b46",
|
||||
"directory": ["{username}"],
|
||||
"include": "gallery,scraps",
|
||||
"flat": true,
|
||||
@@ -78,10 +83,15 @@
|
||||
"(Patreon) {creator[vanity]}",
|
||||
"({date:%Y%m%d}) {title} ({id})"
|
||||
],
|
||||
"filename": "{filename}.{extension}"
|
||||
"filename": "{filename}.{num}.{extension}",
|
||||
"browser": "firefox"
|
||||
},
|
||||
"blogger": {
|
||||
"directory": ["{blog[name]}", "{post[author]}"],
|
||||
"directory": [
|
||||
"{blog[name]}",
|
||||
"{post[author]}",
|
||||
"{post[title]} - [{post[id]}]"
|
||||
],
|
||||
"filename": "{filename} - {num}.{extension}"
|
||||
},
|
||||
"artstation": {
|
||||
@@ -94,7 +104,7 @@
|
||||
"reddit": {
|
||||
"user-agent": "Python:gallery-dl:v1.0 (by /u/captainjawz)",
|
||||
"client-id": "T7nZ6WZ3_onJWBhLP8r08g",
|
||||
"refresh-token": "184157546842-lQ_NOSVjzJ6udAsvple9mftkOcs0rg",
|
||||
"refresh-token": "184157546842-bkMXgGYWzkwGSgXTeC8mMmaDZouhUQ",
|
||||
"directory": ["{author}"],
|
||||
"parent-directory": true
|
||||
},
|
||||
@@ -107,6 +117,9 @@
|
||||
"paheal": {
|
||||
"directory": ["Husbands", "{search_tags}"]
|
||||
},
|
||||
"rule34": {
|
||||
"directory": ["Husbands", "{search_tags}"]
|
||||
},
|
||||
"e621": {
|
||||
"directory": ["Husbands", "{search_tags}"]
|
||||
},
|
||||
@@ -180,6 +193,7 @@
|
||||
"ytdl": {
|
||||
"logging": true,
|
||||
"format": "bestvideo+bestaudio/best",
|
||||
"module": "yt_dlp",
|
||||
"forward-cookies": true
|
||||
},
|
||||
"http": {
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
username = Dornisaurio
|
||||
password = PUOghI][pd<nIfjNl|!P3+>Ux|1W>druS)Alxh]b{!B0QM~,u@SKRi>p?xb)3qEy
|
||||
host = localhost
|
||||
port = 6600
|
||||
Reference in New Issue
Block a user