36 lines
889 B
Plaintext
Raw Normal View History

2025-01-28 17:52:58 -08:00
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;
}
}