all: move domains.conf => sourcehut.conf
This commit is contained in:
parent
d1599dd5e0
commit
2cd31be8da
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $buildssrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $buildssrht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $buildssrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $buildssrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$buildssrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$buildssrht/key.pem;
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $dispatchsrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $dispatchsrht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $dispatchsrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $dispatchsrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$dispatchsrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$dispatchsrht/key.pem;
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $gitsrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $gitsrht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $gitsrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $gitsrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$gitsrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$gitsrht/key.pem;
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $hgsrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $hgsrht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $hgsrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $hgsrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$hgsrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$hgsrht/key.pem;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
server {
|
||||
server_name $hubsrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $hubsrht;
|
||||
|
||||
# Redirect for legacy.sr.ht
|
||||
location ~ ^/[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$ {
|
||||
|
@ -9,8 +10,9 @@ server {
|
|||
}
|
||||
|
||||
server {
|
||||
server_name $hubsrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $hubsrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$hubsrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$hubsrht/key.pem;
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $listssrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $listssrht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $listssrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $listssrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$listssrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$listssrht/key.pem;
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $mansrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $mansrht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $mansrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $mansrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$mansrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$mansrht/key.pem;
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $metasrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $metasrht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $metasrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $metasrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$metasrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$metasrht/key.pem;
|
||||
|
|
|
@ -29,7 +29,5 @@ http {
|
|||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
set $python = "python3.9";
|
||||
include domains.conf;
|
||||
include /etc/nginx/http.d/*.conf;
|
||||
}
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $pastesrht pasta.sr.ht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $pastesrht pasta.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $pastesrht pasta.sr.ht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $pastesrht pasta.sr.ht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$pastesrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$pastesrht/key.pem;
|
||||
|
|
|
@ -11,4 +11,6 @@ set $metasrht = "meta.sr.ht";
|
|||
set $pastesrht = "paste.sr.ht";
|
||||
set $todosrht = "todo.sr.ht";
|
||||
|
||||
# Additional config variables
|
||||
set $private_network = "173.195.146.128/25";
|
||||
set $python = "python3.9";
|
|
@ -1,11 +1,13 @@
|
|||
server {
|
||||
server_name $todosrht;
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $todosrht;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $todosrht;
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
server_name $todosrht;
|
||||
|
||||
ssl_certificate /etc/ssl/uacme/$todosrht/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/uacme/private/$todosrht/key.pem;
|
||||
|
|
Loading…
Reference in New Issue