generated from nhcarrigan/template
feat: sync configs
This commit is contained in:
parent
10e4a5c36f
commit
6e74cd017f
@ -1,14 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
server_name fedi.nhcarrigan.com;
|
|
||||||
ssl_certificate /etc/letsencrypt/live/fedi.nhcarrigan.com/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/letsencrypt/live/fedi.nhcarrigan.com/privkey.pem;
|
|
||||||
|
|
||||||
client_max_body_size 100M;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_pass http://127.0.0.1:3000;
|
|
||||||
proxy_redirect off;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
server_name irc.nhcarrigan.com;
|
|
||||||
ssl_certificate /etc/letsencrypt/live/irc.nhcarrigan.com/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/letsencrypt/live/irc.nhcarrigan.com/privkey.pem;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_pass http://127.0.0.1:9000;
|
|
||||||
proxy_redirect off;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
server_name irc-admin.nhcarrigan.com;
|
|
||||||
ssl_certificate /etc/letsencrypt/live/irc-admin.nhcarrigan.com/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/letsencrypt/live/irc-admin.nhcarrigan.com/privkey.pem;
|
|
||||||
|
|
||||||
root /home/naomi/unrealircd-webpanel;
|
|
||||||
index index.php;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ =404;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ \.php$ {
|
|
||||||
include snippets/fastcgi-php.conf;
|
|
||||||
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ /\.ht {
|
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
listen 8448 ssl default_server;
|
|
||||||
server_name matrix.nhcarrigan.com;
|
|
||||||
ssl_certificate /etc/letsencrypt/live/matrix.nhcarrigan.com/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/letsencrypt/live/matrix.nhcarrigan.com/privkey.pem;
|
|
||||||
|
|
||||||
# Root path redirect only for port 443
|
|
||||||
location = / {
|
|
||||||
if ($server_port = 443) {
|
|
||||||
return 301 https://matrix.to/#/#home:matrix.nhcarrigan.com;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
location /.well-known/matrix/server {
|
|
||||||
return 200 '{"m.server": "matrix.nhcarrigan.com:443"}';
|
|
||||||
add_header Content-Type application/json;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /.well-known/matrix/client {
|
|
||||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.nhcarrigan.com"}}';
|
|
||||||
add_header Content-Type application/json;
|
|
||||||
add_header "Access-Control-Allow-Origin" *;
|
|
||||||
add_header "Access-Control-Allow-Methods" "GET";
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ ^(/_synapse/admin) {
|
|
||||||
proxy_pass http://localhost:8008;
|
|
||||||
add_header Access-Control-Allow-Origin "https://matrix-admin.nhcarrigan.com" always;
|
|
||||||
proxy_hide_header Access-Control-Allow-Origin;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ ^(/_matrix|/_synapse/client) {
|
|
||||||
proxy_set_header Host $host:$server_port;
|
|
||||||
proxy_pass http://127.0.0.1:8008;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
server_name matrix-admin.nhcarrigan.com;
|
|
||||||
ssl_certificate /etc/letsencrypt/live/matrix-admin.nhcarrigan.com/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/letsencrypt/live/matrix-admin.nhcarrigan.com/privkey.pem;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_pass http://localhost:5173;
|
|
||||||
proxy_redirect off;
|
|
||||||
}
|
|
||||||
}
|
|
@ -119,10 +119,8 @@ server {
|
|||||||
ssl_certificate /etc/letsencrypt/live/chat.nhcarrigan.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/chat.nhcarrigan.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/chat.nhcarrigan.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/chat.nhcarrigan.com/privkey.pem;
|
||||||
|
|
||||||
root /home/nhcarrigan/chat;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
index index.html;
|
return 301 https://forum.nhcarrigan.com;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -382,6 +380,23 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name music.nhcarrigan.com;
|
||||||
|
ssl_certificate /etc/letsencrypt/live/music.nhcarrigan.com/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/music.nhcarrigan.com/privkey.pem;
|
||||||
|
|
||||||
|
root /home/nhcarrigan/music;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
index index.html;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /songs.json {
|
||||||
|
try_files /songs.json =404;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name nails.nhcarrigan.com;
|
server_name nails.nhcarrigan.com;
|
||||||
@ -419,10 +434,18 @@ server {
|
|||||||
ssl_certificate /etc/letsencrypt/live/naomi.lgbt/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/naomi.lgbt/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/naomi.lgbt/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/naomi.lgbt/privkey.pem;
|
||||||
|
|
||||||
|
root /home/nhcarrigan/portfolio/site;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Host $host;
|
index index.html;
|
||||||
proxy_pass http://127.0.0.1:3000;
|
}
|
||||||
proxy_redirect off;
|
|
||||||
|
location /games {
|
||||||
|
try_files /games.html =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /koikatsu {
|
||||||
|
try_files /koikatsu.html =404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -445,10 +468,18 @@ server {
|
|||||||
ssl_certificate /etc/letsencrypt/live/nhcarrigan.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/nhcarrigan.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/nhcarrigan.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/nhcarrigan.com/privkey.pem;
|
||||||
|
|
||||||
|
root /home/nhcarrigan/portfolio/site;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Host $host;
|
index index.html;
|
||||||
proxy_pass http://127.0.0.1:3000;
|
}
|
||||||
proxy_redirect off;
|
|
||||||
|
location /games {
|
||||||
|
try_files /games.html =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /koikatsu {
|
||||||
|
try_files /koikatsu.html =404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -636,10 +667,18 @@ server {
|
|||||||
ssl_certificate /etc/letsencrypt/live/www.naomi.lgbt/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/www.naomi.lgbt/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/www.naomi.lgbt/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/www.naomi.lgbt/privkey.pem;
|
||||||
|
|
||||||
|
root /home/nhcarrigan/portfolio/site;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Host $host;
|
index index.html;
|
||||||
proxy_pass http://127.0.0.1:3000;
|
}
|
||||||
proxy_redirect off;
|
|
||||||
|
location /games {
|
||||||
|
try_files /games.html =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /koikatsu {
|
||||||
|
try_files /koikatsu.html =404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -649,9 +688,17 @@ server {
|
|||||||
ssl_certificate /etc/letsencrypt/live/www.nhcarrigan.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/www.nhcarrigan.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/www.nhcarrigan.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/www.nhcarrigan.com/privkey.pem;
|
||||||
|
|
||||||
|
root /home/nhcarrigan/portfolio/site;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Host $host;
|
index index.html;
|
||||||
proxy_pass http://127.0.0.1:3000;
|
}
|
||||||
proxy_redirect off;
|
|
||||||
|
location /games {
|
||||||
|
try_files /games.html =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /koikatsu {
|
||||||
|
try_files /koikatsu.html =404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user