🏳️⚧️
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $webminip <WEBMIN IP>; | |
set $webminport <WEBMIN PORT>; | |
set $netdataport <NETDATA PORT>; # optional | |
location /webmin/ { | |
proxy_redirect https://$host:$webminport/ https://$host/webmin/; | |
proxy_pass https://$webminip:$webminport/; | |
proxy_set_header Host $host; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Accept-Encoding ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $netdataip <NETDATA IP>; | |
set $netdataport <NETDATA PORT>; | |
location = /netdata { | |
return 301 /netdata/; | |
} | |
location ~ /netdata/(?<ndpath>.*) { | |
proxy_redirect off; | |
proxy_set_header Host $host; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $i2pdip <I2Pd IP>; | |
set $i2pdport <I2Pd PORT>; | |
location /i2pd/ { | |
proxy_pass http://$i2pdip:$i2pdport/; | |
proxy_set_header Host 127.0.0.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Accept-Encoding ""; | |
proxy_redirect / /i2pd/; | |
sub_filter 'http://' 'https://'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /nginx { | |
stub_status; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listen 443 ssl; | |
listen [::]:443 ssl; | |
limit_conn conn_limit_per_ip 40; | |
limit_req zone=req_limit_per_ip burst=40 nodelay; | |
proxy_hide_header X-Frame-Options; | |
include nginx_letsencrypt.conf; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resolver 127.0.0.1 valid=300s; | |
resolver_timeout 5s; | |
ssl_certificate /etc/letsencrypt/live/$host/cert.pem; | |
ssl_certificate_key /etc/letsencrypt/live/$host/privkey.pem; | |
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; | |
ssl_stapling off; | |
ssl_stapling_verify off; | |
include /etc/letsencrypt/options-ssl-nginx.conf; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $returnhost <HOST, WHERE 403 ERROR IS SHOWN>; | |
# case sensitive matching | |
if ($http_user_agent ~ (Antivirx|Arian)) { | |
return 301 https://$returnhost; | |
} | |
# case insensitive matching | |
if ($http_user_agent ~* (malicious)) { | |
return 301 https://$returnhost; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Daemon config file for PipeWire version "0.3.70" # | |
# | |
# Copy and edit this file in /etc/pipewire for system-wide changes | |
# or in ~/.config/pipewire for local changes. | |
# | |
# It is also possible to place a file with an updated section in | |
# /etc/pipewire/pipewire.conf.d/ for system-wide changes or in | |
# ~/.config/pipewire/pipewire.conf.d/ for local changes. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WirePlumber daemon context configuration # | |
context.properties = { | |
## Properties to configure the PipeWire context and some modules | |
application.name = WirePlumber | |
log.level = 2 | |
wireplumber.script-engine = lua-scripting | |
wireplumber.export-core = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PulseAudio config file for PipeWire version "0.3.70" # | |
# | |
# Copy and edit this file in /etc/pipewire for system-wide changes | |
# or in ~/.config/pipewire for local changes. | |
# | |
# It is also possible to place a file with an updated section in | |
# /etc/pipewire/pipewire-pulse.conf.d/ for system-wide changes or in | |
# ~/.config/pipewire/pipewire-pulse.conf.d/ for local changes. | |
# |