This commit is contained in:
2023-12-12 18:06:52 +01:00
parent ca74402253
commit 1389c5bdbc
55 changed files with 87 additions and 42 deletions

View File

@ -1,21 +1,22 @@
server {
listen 443 ssl;
server_name spacccloud.octt.eu.org;
ssl_certificate /etc/letsencrypt/live/spacccloud.octt.eu.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/spacccloud.octt.eu.org/privkey.pem;
ssl_prefer_server_ciphers on;
location / {
proxy_http_version 1.1;
proxy_pass http://localhost:8560;
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_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
#server {
# listen 443 ssl;
# server_name spacccloud.octt.eu.org;
# ssl_certificate /etc/letsencrypt/live/spacccloud.octt.eu.org/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/spacccloud.octt.eu.org/privkey.pem;
# ssl_prefer_server_ciphers on;
# location / {
# proxy_http_version 1.1;
# proxy_pass http://localhost:8560;
# 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_set_header Upgrade $http_upgrade;
# proxy_set_header Connection "upgrade";
# }
#}
server {
listen 80;
listen 443 ssl;
server_name spacccloud-wfm.octt.eu.org;
ssl_certificate /etc/letsencrypt/live/spacccloud-wfm.octt.eu.org/fullchain.pem;

View File

@ -6,7 +6,7 @@ server {
ssl_certificate_key /etc/letsencrypt/live/private-analytics-not-for-public-use.octt.eu.org/privkey.pem;
ssl_prefer_server_ciphers on;
location /sitoctt/ {
resolver 10.0.3.1;
resolver 9.9.9.9;
proxy_http_version 1.1;
proxy_pass https://sitoctt.goatcounter.com/;
proxy_set_header Host "sitoctt.goatcounter.com";
@ -17,7 +17,7 @@ server {
proxy_set_header Connection "upgrade";
}
location /octtkb/ {
resolver 10.0.3.1;
resolver 9.9.9.9;
proxy_http_version 1.1;
proxy_pass https://octtkb.goatcounter.com/;
proxy_set_header Host "octtkb.goatcounter.com";

View File

View File

0
Server/Root/etc/nginx/sites-available/fediii.conf Normal file → Executable file
View File

0
Server/Root/etc/nginx/sites-available/fren.conf Normal file → Executable file
View File

View File

0
Server/Root/etc/nginx/sites-available/invidious.conf Normal file → Executable file
View File

0
Server/Root/etc/nginx/sites-available/librex.conf Normal file → Executable file
View File

View File

View File

@ -117,12 +117,13 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
sub_filter '<a href="/" id="title-a"' '<a style="position: absolute;" href="/Drive/">/Drive/</a><a style="margin-left: 3em;" href="/Drive/Telegram/" id="title-a"';
sub_filter '<a href="/" id="title-a"' '<a style="/*position: absolute; margin-top: 0.25em;*/ word-break: keep-all;line-break: strict;" href="/Drive/">/Drive/</a><a style="/*margin-left: 3em;*/" href="/Drive/Telegram/" id="title-a"';
sub_filter '<link href="/' '<link href="/Drive/Telegram/';
sub_filter '<a href="/' '<a href="/Drive/Telegram/';
sub_filter '<img src="/' '<img src="/Drive/Telegram/';
sub_filter '<source src="/' '<source src="/Drive/Telegram/';
sub_filter '<script src="/' '<script src="/Drive/Telegram/';
sub_filter '<meta property="og:image" content="/' '<meta property="og:image" content="https://hlb0.octt.eu.org/Drive/Telegram/';
sub_filter_once off;
}

0
Server/Root/etc/nginx/sites-available/wordpress.conf Normal file → Executable file
View File