Commit 433dc4ee authored by Pablo Rauzy's avatar Pablo Rauzy
Browse files

staticht.ml is dead

parent 724eee63
# mod_evhost
# mod_redirect
$HTTP["host"] == "staticht.ml" {
server.document-root = "/home/p4bl0/www/statichtml/root/"
server.errorlog = "/var/log/lighttpd/misc/statichtml-error.log"
accesslog.filename = "/var/log/lighttpd/misc/statichtml-access.log"
$HTTP["host"] == "cygale.net" {
server.document-root = "/home/p4bl0/www/cygale.net/"
server.errorlog = "/var/log/lighttpd/misc/cigala-error.log"
accesslog.filename = "/var/log/lighttpd/misc/cigala-access.log"
$HTTP["scheme"] == "https" {
ssl.ca-file = "/etc/letsencrypt/live/staticht.ml/fullchain.pem"
ssl.pemfile = "/etc/letsencrypt/live/staticht.ml/privkey.pem"
ssl.ca-file = "/etc/letsencrypt/live/cygale.net/fullchain.pem"
ssl.pemfile = "/etc/letsencrypt/live/cygale.net/privkey.pem"
}
}
$HTTP["host"] == "USERDOMAIN" {
server.document-root = "/home/p4bl0/www/statichtml/users/USERNAME/"
server.errorlog = "/var/log/lighttpd/misc/statichtml-error.log"
accesslog.filename = "/var/log/lighttpd/misc/statichtml-access.log"
server.document-root = "/home/p4bl0/www/cygale/users/USERNAME/"
server.errorlog = "/var/log/lighttpd/misc/cigala-error.log"
accesslog.filename = "/var/log/lighttpd/misc/cigala-access.log"
server.error-handler-404 = "/404.html"
$HTTP["scheme"] == "https" {
ssl.ca-file = "/etc/letsencrypt/live/USERDOMAIN/fullchain.pem"
......
server {
server_name staticht.ml;
server_name cygale.net;
root /home/p4bl0/www/statichtml/root;
root /home/p4bl0/www/cygale.net;
location /cigala.php {
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
......@@ -11,8 +11,8 @@ server {
listen [::]:443 ssl; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/staticht.ml/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/staticht.ml/privkey.pem; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/cygale.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/cygale.net/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
......@@ -22,7 +22,7 @@ server {
server_name USERDOMAIN;
root /home/p4bl0/www/statichtml/users/USERNAME;
root /home/p4bl0/www/cygale/users/USERNAME;
error_page 404 /404.html;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment