all: remove variables in server_name
This doesn't actually work, it just pretends to work. Fuck you nginx
This commit is contained in:
parent
cb3972376c
commit
081fce4019
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $buildssrht;
|
||||
server_name builds.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include builds-ssl.conf;
|
||||
server_name $buildssrht;
|
||||
server_name builds.sr.ht;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $dispatchsrht;
|
||||
server_name dispatch.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include dispatch-ssl.conf;
|
||||
server_name $dispatchsrht;
|
||||
server_name dispatch.sr.ht;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5005;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $gitsrht;
|
||||
server_name git.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include git-ssl.conf;
|
||||
server_name $gitsrht;
|
||||
server_name git.sr.ht;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $hgsrht;
|
||||
server_name hg.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include hg-ssl.conf;
|
||||
server_name $hgsrht;
|
||||
server_name hg.sr.ht;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $hubsrht;
|
||||
server_name hub.sr.ht;
|
||||
|
||||
# Redirect for legacy.sr.ht
|
||||
location ~ ^/[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$ {
|
||||
|
@ -13,7 +13,7 @@ server {
|
|||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include hub-ssl.conf;
|
||||
server_name $hubsrht;
|
||||
server_name hub.sr.ht;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5014;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $listssrht;
|
||||
server_name lists.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include lists-ssl.conf;
|
||||
server_name $listssrht;
|
||||
server_name lists.sr.ht;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5006;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $mansrht;
|
||||
server_name man.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include man-ssl.conf;
|
||||
server_name $mansrht;
|
||||
server_name man.sr.ht;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $metasrht;
|
||||
server_name meta.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include meta-ssl.conf;
|
||||
server_name $metasrht;
|
||||
server_name meta.sr.ht;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5000;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $pastesrht pasta.sr.ht;
|
||||
server_name paste.sr.ht pasta.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include paste-ssl.conf;
|
||||
server_name $pastesrht pasta.sr.ht;
|
||||
server_name paste.sr.ht pasta.sr.ht;
|
||||
|
||||
client_max_body_size 10M;
|
||||
|
||||
|
|
|
@ -1,17 +1,3 @@
|
|||
# Update this file to configure the domain names for your sr.ht installation.
|
||||
# Any services you have not set up may be left unchanged.
|
||||
set $buildssrht "builds.sr.ht";
|
||||
set $dispatchsrht "dispatch.sr.ht";
|
||||
set $gitsrht "git.sr.ht";
|
||||
set $hgsrht "hg.sr.ht";
|
||||
set $hubsrht "sr.ht";
|
||||
set $listssrht "lists.sr.ht";
|
||||
set $mansrht "man.sr.ht";
|
||||
set $metasrht "meta.sr.ht";
|
||||
set $pastesrht "paste.sr.ht";
|
||||
set $todosrht "todo.sr.ht";
|
||||
|
||||
# Additional config variables
|
||||
set $python "python3.9";
|
||||
set_real_ip_from 127.0.0.0/16;
|
||||
set_real_ip_from 173.195.146.128/25;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
server {
|
||||
include sourcehut.conf;
|
||||
include port80.conf;
|
||||
server_name $todosrht;
|
||||
server_name todo.sr.ht;
|
||||
}
|
||||
|
||||
server {
|
||||
include sourcehut.conf;
|
||||
include port443.conf;
|
||||
include todo-ssl.conf;
|
||||
server_name $todosrht;
|
||||
server_name todo.sr.ht;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
|
Loading…
Reference in New Issue