nginx: add travel.ingolf-wagner.de
This commit is contained in:
parent
f7e1df5ad3
commit
b80f581000
1 changed files with 25 additions and 0 deletions
|
@ -55,6 +55,31 @@
|
|||
# };
|
||||
#};
|
||||
|
||||
"travel.ingolf-wagner.de" = {
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 4443;
|
||||
ssl = true;
|
||||
}
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
ssl = false;
|
||||
}
|
||||
];
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
root = "/srv/www/travel";
|
||||
extraConfig = ''
|
||||
if (-d $request_filename) {
|
||||
rewrite [^/]$ $scheme://$http_host$request_uri/ permanent;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
"tech.ingolf-wagner.de" = {
|
||||
listen = [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue